Commit Graph

216 Commits

Author SHA1 Message Date
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 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 2f158c2678 Removed @PROGEXT@ (it was broken anyway).
Improved 'make install'.
Cleaned up the main Makefile.
2000-06-14 21:45:38 +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
Alexandre Julliard 01e819ad9f Simplified wrc flags handling. 2000-06-08 04:52:11 +00:00
Alexandre Julliard 0f45f1cc30 Strip path name from dll when adding symbols. 2000-06-08 00:59:40 +00:00
Ulrich Weigand 1cbf27a33f Compile fixes for non-i386 archs. 2000-06-04 01:33:21 +00:00
James Juran 2fc028977d DEBUG_ExternalDebugger() needs to be a part of wine, not winedbg. 2000-05-26 01:14:55 +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 4a07ed8ef0 Fixed x /s command. 2000-05-09 22:32:01 +00:00
Marcus Meissner 508911b446 Old versions of glibc might not have STN_UNDEF defined. 2000-05-07 18:27:28 +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
Dimitrie O. Paun 7827254cf2 Get rid of HEAP_xrealloc. 2000-04-28 14:43:34 +00:00
Ulrich Weigand 164bac9292 Improved CodeView type information loader. 2000-04-25 19:53:49 +00:00
Alexandre Julliard e1e75371d9 Implemented on-demand loading of builtin dlls using dlopen(). 2000-04-24 17:17:49 +00:00
Alexandre Julliard 180a088beb Moved PE header definitions to winnt.h where they belong. 2000-04-18 11:58:24 +00:00
Alexandre Julliard a6795414d1 Implemented 'walk process' and 'walk threads' commands using toolhelp
snapshots.
2000-04-16 19:46:35 +00:00
Alexandre Julliard b44595283f Improved Winelib apps initialisation code. No longer need to link
winestub.o with Winelib apps.
2000-04-15 21:00:55 +00:00
Alexandre Julliard 9639a0a8ed Added missing winestub dependency. 2000-04-14 13:47:11 +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
Alexandre Julliard c53ceba478 Improved support for Makefiles that need to recurse in subdirectories. 2000-04-09 18:19:59 +00:00
Patrik Stridvall 584640519b Fixed some ANSI C violations. 2000-03-28 19:24:55 +00:00
Eric Pouech 9505c1c8da Now read .so list from debuggee's address space. 2000-03-26 14:42:21 +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 7de0d82b3f Fixed basic type evaluation. 2000-03-24 19:46:53 +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 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 cbb7a172f1 Added proc to start debugging process from its command line (by launching it). 2000-03-09 18:45:43 +00:00
Eric Pouech 29d33a4652 Cleanup. 2000-03-09 18:45:27 +00:00
Patrik Stridvall 6cc47d4924 Removed a lot of unnecessary includes and fixed the compile errors. 2000-03-08 18:26:56 +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
Alexandre Julliard 916f975624 Improved the selector get/set functions.
Support ANSI-compatible inline asm (with the help of Patrik Stridvall).
2000-02-26 16:51:13 +00:00
James Abbatiello 1758f2d81a Misc. fixes for compiler warnings. 2000-02-25 21:01:50 +00:00
Alexandre Julliard 318f4cefd2 Build most dlls as separate shared libraries. 2000-01-31 05:02:49 +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 eafa391081 Use argv[0] to locate the server executable. 2000-01-25 21:19:58 +00:00
Ulrich Weigand 52faa5658c Bugfix: missing NULL pointer checks. 2000-01-23 02:28:14 +00:00
Gerard Patel 6665ad40d0 Display the external modules after the internal modules in crash report. 2000-01-15 23:29:57 +00:00
Ulrich Weigand 0e0a4ab6ae Bugfix: uninitialized pointer caused crashes. 2000-01-05 01:48:08 +00:00
Eric Pouech 8d55bcc2ad Use case insensitive comparison while searching for new modules. 2000-01-04 00:25:03 +00:00
Ulrich Weigand 8142a166ff Parse CodeView type/symbol info with 32-bit type indices.
Added (partial) support for VC 5/6 .PDB files.
Fixed treatment of source file names containing path.
1999-12-10 03:43:53 +00:00
Alexandre Julliard 6f1b642479 Raise an exception when a critical section wait failed. 1999-11-24 01:14:04 +00:00
Niels Kristian Bech Jensen 1d5bc469cc Removed extra #include statements. 1999-11-21 02:14:36 +00:00