Commit Graph

50 Commits

Author SHA1 Message Date
Eric Pouech 3acf541dc9 Fixed some bugs in first chance exception handling. 2002-04-01 21:03:13 +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
Dimitrie O. Paun 693cca5d4d Make FIXMEs more grep-able. 2002-01-29 03:12:19 +00:00
Bill Medland 7a364bb8aa Fixed vsnprintf return value check. 2001-12-24 20:23:57 +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
Alexandre Julliard f5a8b965f0 Added "--auto" option. 2001-10-22 19:00:34 +00:00
Andreas Mohr e15badb478 Cosmetics. 2001-10-21 15:18:15 +00:00
Alexandre Julliard 840434acd0 Don't ignore first chance debug exceptions since it may be a
breakpoint that we set ourselves.
2001-10-04 16:17:16 +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 c2b5cb35d2 Now tries to print the symbol name of a crst when it times out. 2001-08-07 19:32:14 +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
Alexandre Julliard 1ce1bef859 Better error reporting on DebugActiveProcess failure. 2001-07-11 17:33:08 +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
Alexandre Julliard 09d7822048 Delay import of user32 to allow debugging crashes in user init code. 2001-05-05 00:44:48 +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
Eric Pouech 2b713ba65d Enhanced robustness at startup. 2001-04-13 22:26:23 +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
François Gouget d5042c44b4 Compile the debugger with STRICT on. 2000-12-29 05:38:00 +00:00
Alexandre Julliard 633293f093 Build the debugger as a .so. 2000-12-06 03:20:47 +00:00
Andreas Mohr a59324db91 Cosmetics. 2000-11-25 01:40:10 +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 634824be58 Raise an exception when a stub entry point is called. 2000-10-26 22:03:34 +00:00
Alexandre Julliard 954a413c47 Improved support for vm86 mode. 2000-09-24 03:15:50 +00:00
Andreas Mohr 20cd9356a8 - fixes debugger output
- get rid of wrong comments
- fix comments
- .spec spelling fix
- improve warning message
2000-09-12 23:40:40 +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
Alexandre Julliard 7bbba4f9ce Removed calls to ConvertToGlobalHandle and MakeCriticalSectionGlobal. 2000-08-26 21:18:36 +00:00
Alexandre Julliard a007f3364a Moved a few non-standard headers into their respective dlls. 2000-08-09 00:54:58 +00:00
Alexandre Julliard 58d5a0a786 Removed some unnecessary inclusions of wingdi.h and winuser.h 2000-07-29 21:58:17 +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
Eric Pouech f516be6736 Unconditionnally print messages on DLL load breakpoint. 2000-07-10 13:05:44 +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 7c43b22cb8 Don't block endlessly after last debugged process has exited. 2000-06-24 12:52: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
Alexandre Julliard 291fa66f9d Removed the .xcnlnk section hack, and replaced it by another hack in
the debugger CREATE_PROCESS event handling.
2000-06-08 05:02:19 +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
Alexandre Julliard f818d42fae Fixed COORD structure definition.
Fixed GetLargestConsoleWindowSize to not return a structure when
called from the Window binary.
2000-05-03 17:48:21 +00:00
Eric Pouech 26342c9824 Fixed segv when debugger registry key doesn't exist. 2000-05-01 14:22:02 +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
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
Alexandre Julliard 0966a6d578 Fixed OUTPUT_DEBUG_STRING pointer handling. 2000-03-10 22:25:07 +00:00
Eric Pouech cbb7a172f1 Added proc to start debugging process from its command line (by launching it). 2000-03-09 18:45:43 +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