Commit Graph

39 Commits

Author SHA1 Message Date
Frédéric Delanoy fe580c083d winedbg: Use BOOL type where appropriate. 2013-11-11 13:27:28 +01:00
Michael Stefaniuc 915e12e59f winedbg: Avoid TRUE:FALSE conditional expressions. 2012-08-13 17:30:01 +02:00
Eric Pouech cf7120b8cc winedbg: Fix 'break file : lineno' command so that file can be in other modules than the current one. 2011-03-08 12:30:29 +01:00
Alexandre Julliard 35d5c07538 winedbg: Support setting a breakpoint from a file name and line number. 2011-02-28 14:04:20 +01:00
Peter Schlaile 95a3cd8e30 winedbg: Adds an rwatch command to winedbg. 2010-12-06 12:21:16 +01:00
Eric Pouech aebb9dd316 winedbg: Don't access inside a bp structure if it's not initialized.
Spotted by Peter Urbanec.
2010-08-26 12:42:26 +02:00
Eric Pouech e9a31f2770 winedbg: Properly guard against setting a watchpoint against a variable stored in a register. 2010-04-13 11:42:00 +02:00
Eric Pouech a1986b20e7 winedbg: Fix buffer size for 8-byte watchpoint. 2010-04-13 11:41:54 +02:00
Eric Pouech 5f23b94a27 winedbg: Allow using 8-byte long hardware assisted breakpoints on x86_64 CPUs. 2010-04-07 13:50:57 +02:00
Eric Pouech 2367186805 winedbg: Simplify a bit the find_triggered_watch function. 2010-04-07 13:50:48 +02:00
Marcin Baczyński 477117a03f winedbg: Remove superfluous void* cast. 2010-01-07 17:59:57 +01:00
Eric Pouech 12c3a012cb winedbg: Force 64bit line number information throughout the code to ease 64bit portability. 2009-12-14 12:30:56 +01:00
Eric Pouech 7daa50c041 winedbg: Ensure all addresses passed to break functions are 64bit wide. 2009-12-14 12:29:35 +01:00
Alexandre Julliard ec73f0b71a winedbg: Fix a number of 64-bit pointer truncation issues. 2009-12-10 15:23:45 +01:00
Francois Gouget 96848a0605 Remove spaces before '\n's. 2009-03-09 12:05:58 +01:00
Peter Oberndorfer 394a36c25a winedbg: Only check for break/watch points on first chance exceptions. 2007-05-23 12:51:16 +02:00
Alexandre Julliard 6744929428 winedbg: Win64 printf format fixes. 2006-12-20 14:57:08 +01:00
Francois Gouget 367f91fb5c Assorted spelling fixes. 2006-12-14 20:25:05 +01:00
Eric Pouech 932ad65c83 winedbg: Now that local variable computation depends on instruction
pointer value, be sure to have the relevant insn ptr value when
fetching the stack frames (spotted by Peter Oberndorfer).
2006-12-04 14:03:04 +01:00
Ge van Geldorp 1d04f826c7 winedbg: Change ADDRESS variables to ADDRESS64 so we can handle 64-bit addresses. 2006-07-26 15:21:42 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Petr Tesarik 68f8d28945 winedbg: Fix stepping over an instruction. 2006-03-27 12:14:20 +02:00
Eric Pouech 6ab9b23526 winedbg: Hardware breakpoints
- implemented hardware assisted breakpoints (new 'hbreak' command
  which behaves just as 'break' command)
- small improvements to break handling (saving hit xpoint across
  exception handling)
- fixed 'cont N' command for watchpoints
2006-01-27 16:17:22 +01:00
Eric Pouech 9d0b5f5372 winedbg: Added a more decent scheme for handling segmented addresses. 2006-01-23 16:26:40 +01:00
Eric Pouech 6b7bebfbf9 SymGetType(...,TI_GET_LENGTH,...) requires a 64 bit parameter, not a
32 bit one.
2005-11-17 11:51:53 +00:00
Eric Pouech 2d62ba5557 Fixed 'break NN' command (using dbghelp.SymEnumLines). 2005-11-03 11:33:04 +00:00
Hans Leidekker 97d1b11ebd Fix uninitialized warnings. 2005-05-24 12:34:29 +00:00
Eric Pouech d6be549a76 - started infrastructure for proper multi-target support (active
process, minidump...)
- all read/write memory ops are now done thru a centralized process_io
  facility
- minor fixes & cleanups in CPU backends
2005-05-24 11:46:25 +00:00
Francois Gouget 93416cdaf7 Assorted spelling fixes. 2005-03-23 13:15:18 +00:00
Eric Pouech 499cff6f26 Cleanup of dbghelp.h (and a couple of definition fixes). The
displacements (in most of the functions) are not optional.
2005-01-31 11:34:59 +00:00
Eric Pouech 99e07b5bf2 - fixed regression in watchpoint setting (by addr)
- in backtrace, show at least module when no symbol is found
- protect event parsing from command line (when no real number)
2004-11-08 20:25:55 +00:00
Eric Pouech 5fe480b472 - fixed regression in ctrl-c handling
- fixed regression in 'info symbol XXXX' command (and enhanced
  presentation)
- fixed regression in line stepping
- fixed regression in & (address operator) handling
- fixed some bad module reference for local symbols
- enhanced register presentation as local variables
- added warning when launching a debuggee which isn't a Wine app
- removed the 'local' extension of display command (and check when
  setting the display whether the expr has a local binding)
- simplified exception handling, and factorized some code when
  debugger stops
2004-09-28 02:13:27 +00:00
Hans Leidekker 719a789792 Fix signed/unsigned comparison warnings. 2004-09-22 02:46:38 +00:00
Eric Pouech 926f66186f - fixed breakpoint enabled/disabled state management
- fixed recursion in type printing
- now all type-id are stored with the base address of the module which
  defines the type (struct dbg_type takes care of this pairing)
- fixed a couple of bugs in display handling
- fixed strings print and examination
2004-08-22 22:35:36 +00:00
Eric Pouech deca2502d6 - all symbol information storage is now module relative, so we can
unload a module (and it's debugging information), and a process
  without pain
- portabiblity to another CPU should be easier now (CPU dependent backend)
- speed up memory allocation
- stabs related fixes:
      + now correctly handling symbol's size
      + blocks {} in functions are now correctly recognized and stored
        (also applies to local variables scoping)
      + better basic types management (less wild guesses in the code)
      + full support of inline functions (source stepping now shows the
        code in .h files for example)
- removal of external debugger (attaching with gdb is just fine to
  debug winedbg)
- fixed a couple of issues for symbol address handling (address
  lookup, incorrect type binding)
- winedbg now has a man page
2004-06-04 00:59:16 +00:00
Eric Pouech 39628f49ed - now reporting message on bogus line number in 'bp <num>' commands
(useful when user thinks <num> is a linear address)
- fixed bogus return value in DEBUG_AddBreakpoint
2004-01-28 20:05:39 +00:00
Eric Pouech 48f97983d7 - get rid of winedbg internal channels for output
- move all standard (old MESG channel) output to stdout
- move all other outputs (TRACE, WARN...) to a new wine debugging
  channel (winedbg)
- replaced quite a few #ifdef:ed out output to new channels (mainly in
  symbol management area...)
- added a new maintenance commands to ease up debugging
- updated documentation accordingly
2003-12-15 19:53:08 +00:00
Eric Pouech 2fc867c045 Added ability to abort on interactive symbol lookup. 2002-09-16 19:26:48 +00:00
Alexandre Julliard f264bd326b Moved the debugger to programs/winedbg where it belongs. 2002-09-13 17:54:27 +00:00