Commit Graph

30 Commits

Author SHA1 Message Date
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Eric Pouech 21b366e6e2 Added the detach command to the debugger. 2002-02-27 01:29:18 +00:00
Eric Pouech d727a9bcf4 Fixed some bad behavior when many symbols with same names where found.
Removed external readline support.
2002-02-04 18:40:40 +00:00
Eric Pouech 02ecb68453 Fixed stabs parsing for GCC 3.0 (default types).
Added boolean type support.
Simplified internal types handling.
2001-12-21 20:29:58 +00:00
Eric Pouech d0a04935ce Revisited console support (got rid of old hacks and private editline
since we now have a brand new console), removed private debug heap.
2001-11-23 23:10:08 +00:00
Eric Pouech 38f2be49f0 Fixed the parsing of id1.id2 which could be either access to field id2
of struct id1, or the identifier id2 in dll id1.
Enhanced some error reporting as well as 'info local' display layout.
Minor cosmetic changes.
2001-08-15 17:40:31 +00:00
Eric Pouech 800773f9d4 Extended bt command to display backtrace of another thread.
Enhanced process & thread display with process name.
2001-08-06 17:51:52 +00:00
Alexandre Julliard f899ef07a6 Removed some unnecessary includes. 2001-07-23 00:04:00 +00:00
Eric Pouech eaafb73cd5 Added the notion of delayed breakpoint (when a function is not loaded
yet, the name will be tried again for each new loaded module).
2001-05-21 18:33:15 +00:00
Eric Pouech 52c7534f41 Started handling of several symbols with the same name.
Fixed trampoline identification.
2001-05-03 18:32:47 +00:00
James Hatheway f552359c31 Modify debugger to understand special undocumented "Name Thread"
exception from MS VC6.
2001-04-09 18:31:47 +00:00
Eric Pouech afce9213b9 Cleaned up internal types definition. 2000-12-01 20:45:59 +00:00
Eric Pouech e939206f90 Improved internal module handling (module now have a size, map of
loaded module is clearer, better error reporting, seperated module
loading code from symbol extraction).
2000-11-15 22:16:26 +00:00
Alexandre Julliard 954a413c47 Improved support for vm86 mode. 2000-09-24 03:15:50 +00:00
James Abbatiello ebef9a9519 Fix for debugger disassembly being off by one byte after using nexti
on a "call" instruction.
2000-09-01 01:22:05 +00:00
Eric Pouech 9454801cd9 Enhanced ELF files lookup for symbolic info. 2000-08-15 12:00:52 +00:00
Eric Pouech 71189b5224 fixed a number of long standing bugs:
- segmented expressions didn't display correctly
    - using dynamic size array for nested types parsing
    - correct display of source code after a crash
factorized some code
2000-07-25 12:51:56 +00:00
Peter Hunnisett 856aefa240 - Explicit init of rtn.cookie in DEBUG_EvalExpr to bad value to
expose further bad code
- Print of pointer used as array now works
2000-07-08 12:45:44 +00:00
Eric Pouech 911436bfeb - cleaned-up break handling
- better integration of debugger inner loops (parser & events)
- added attach command
- improved parser so that it can be entered without any process loaded
- added BreakOnFirstChance internal variable
- disabled NE module symbol module (which is broken with ASS)
- misc portability cleanups
2000-06-18 19:30:24 +00:00
Ulrich Weigand 1cbf27a33f Compile fixes for non-i386 archs. 2000-06-04 01:33:21 +00:00
Eric Pouech f1822356b5 Fixed %p in printf (now using wsprintf which doesn't support it).
Added ThreadId and ProcessId internal vars.
Allow at startup to pick up a process to debug.
2000-05-11 21:43:43 +00:00
Eric Pouech b971745ca0 Fixed some buffer overflows.
Made stab parsing more robust (now ignores C++ stabs).
Display correct backtrace at first when invoked on unhandled exception.
Loads stabs from .so files when those are loaded.
2000-05-05 18:14:34 +00:00
Eric Pouech 04c16b828e - Enhanced internal variables framework (including read/save to
registry and typing)
- Finalized use of Windows' Console I/O interface (instead of Unix std
  streams)
- Now handling registers as internal variables (they are no longer
  seen as a specific type)
2000-04-30 12:21:15 +00:00
Dimitrie O. Paun 7827254cf2 Get rid of HEAP_xrealloc. 2000-04-28 14:43:34 +00:00
Alexandre Julliard a6795414d1 Implemented 'walk process' and 'walk threads' commands using toolhelp
snapshots.
2000-04-16 19:46:35 +00:00
Eric Pouech e5efa0ceb6 Made the winedbg an external and WineLib program.
Centralized output handling (preparation for console usage).
Fixed a few debug information reading options (stabs and sym).
Started a framework to hold debugger's internal variables.
2000-04-13 19:31:58 +00:00
Eric Pouech ac11a68f3e improved exception handling
merged all module handling code in new module.c file
reenabled 'walk module' and 'info module' commands
added ability to drive break on thread startup
2000-03-26 13:37:39 +00:00
Eric Pouech d33bcb6139 Introduced DBG_VALUE struct to manipulate debugger/debuggee address space.
Added watch (hardware assisted debugging) and whatis (type of expr) commands.
Fixed some issues in local vars handling (stabs parsing & registers optimization).
2000-03-15 19:57:20 +00:00
Eric Pouech ebd01a94aa Now relying on exception codes to know when debugger is entered for a
single step trap.
2000-03-09 18:46:04 +00:00
Eric Pouech 527eea99f8 No longer directly accessing debuggee memory.
Execution context (mode, steps...) are now linked to a thread.
Removed some X11 crst hacks.
Rewrote info/walk commands.
Removed direct debugger invocation code (and moved the rest to the new
winedbg.c file).
2000-03-08 16:44:54 +00:00