Commit Graph

102 Commits

Author SHA1 Message Date
Eric Pouech 3acf541dc9 Fixed some bugs in first chance exception handling. 2002-04-01 21:03:13 +00:00
Tijs van Bakel 2e4f9ed8b0 Added support for C++ identifier syntax. 2002-03-23 18:43:55 +00:00
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
Peter Hunnisett 73ab649ced New file msvcrt/excpt.h. Move some stuff out of winnt.h into it. 2002-02-25 20:10:35 +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 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 1ce1bef859 Better error reporting on DebugActiveProcess failure. 2001-07-11 17:33:08 +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
Alexandre Julliard 7d5bc5c3f9 Removed some direct accesses to the 16-bit task structure. 2001-01-15 20:09:09 +00:00
François Gouget d5042c44b4 Compile the debugger with STRICT on. 2000-12-29 05:38:00 +00:00
Alexandre Julliard 954a413c47 Improved support for vm86 mode. 2000-09-24 03:15:50 +00:00
Eric Pouech 5b471bae6e Added BreakOnDllLoad internal var, cleaned up register validation on
exception.
2000-06-25 12:49:13 +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
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
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
Patrik Stridvall 3b233623cc Fixed some warnings. 2000-03-24 21:19:02 +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
Ulrich Weigand 7d43bceb7e Moved debugger to libwine to make it available to WineLib apps.
Try to invoke external debugger if internal debugger crashes.
Try to handle early invocation of debugger more gracefully.
2000-01-30 21:16:45 +00:00
Alexandre Julliard 6f1b642479 Raise an exception when a critical section wait failed. 1999-11-24 01:14:04 +00:00
Ulrich Weigand b3ec4b91af Made debugger compile and marginally work on non-Intel archs. 1999-11-13 20:58:45 +00:00
Eric Pouech a88cae1a0b Allow loading of modules debug information after first invocation of
debugger.
1999-10-23 18:55:02 +00:00
Ulrich Weigand 3723c2c8e9 Bugfix: Perform proper process shutdown on 'quit' and error. 1999-10-23 16:49:49 +00:00
Alexandre Julliard 410ae4f3e7 Debugger is now called by exception handling.
Added 'pass' command to pass exceptions to the app.
1999-06-18 18:23:11 +00:00
Patrik Stridvall 4bf335497d Removed direct references to CLASS internals. 1999-06-12 14:52:15 +00:00
Guy Albertelli 0e65b38ff3 Add new "walk" command options to list processes and modref's. 1999-06-12 10:49:36 +00:00
Ulrich Weigand 2c419accb1 Don't freeze other thread while it may hold the X critical section. 1999-05-22 19:03:11 +00:00
Patrik Stridvall 1bb9403938 ANSI C fixes. 1999-05-08 15:47:44 +00:00
Ove Kaaven dda17c681f Added a possibility to let the internal debugger use a separate
heap. Not enabled by default, change #if in include/debugger.h to use
this (the heap allocator is very slow).
1999-04-25 12:24:42 +00:00
Patrik Stridvall 0f8bc5b5c7 Fixed ANSI compabillity. 1999-04-22 16:27:50 +00:00
Ulrich Weigand 2a8c5da0c8 Use CLIENT_DebuggerRequest to freeze/unfreeze threads. 1999-04-11 17:13:43 +00:00
Patrik Stridvall b87fe2e9bf More code moved to the X11 driver (bitmap and palette and misc). 1999-04-01 08:16:08 +00:00
Marcus Meissner b0d52b0071 More include optimizations. 1999-02-28 19:59:00 +00:00
David Luyer ee517e863e - fixed missing stdlib.h and string.h includes everywhere
- removed a couple of unneeded stdlib.h and stdio.h includes
1999-02-28 12:27:56 +00:00
Alexandre Julliard a396029270 Large-scale renaming of all Win32 functions and types to use the
standard Windows names.
1999-02-26 11:11:13 +00:00
Marcus Meissner 04c3e1d456 Removed a lot of occurences of windows.h (and added necessary other
includes).
1999-02-19 10:37:02 +00:00
Marcus Meissner 317af320cf Optimized include/*.h: (recursively) include all headers needed by
this .h file, but only those. Necessary fixes to a lot of .c files,
started optimizing "windows.h" away from some of them. Moved
GetCurrentTask prototype to wine/winbase16.h.
1999-02-17 13:51:06 +00:00
Patrik Stridvall 8d8703cb48 Moved some more code to the X11 driver. 1999-02-04 14:05:38 +00:00
NF Stevens 2c3d07fa0e Implemented the symbolfile command (as mentioned by the help
command). This reads a symbol file in the format generated by nm.
1999-01-28 17:37:49 +00:00
Marcus Meissner 40c11ebfa2 Allow switching off/on of debugmsgs in the debugger. 1999-01-24 09:37:33 +00:00
Michael Veksler ca1bc866cf Moves more stuff from windows.h.
- include/winuser.h - interface relevant to user32.spec
- include/wine/winuser16.h - the old 16 bit interface (internal use)
- include/winbase.h - some minor updates to keep things coherent.
- Lot of other files made to include wine/winuser16.h, which is no
  longer included from windows.h
1999-01-01 18:57:33 +00:00
Patrik Stridvall 151170c437 Moved more things to the X11 driver. 1998-12-26 12:00:43 +00:00