Commit graph

185 commits

Author SHA1 Message Date
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
Ulrich Weigand
b3ec4b91af Made debugger compile and marginally work on non-Intel archs. 1999-11-13 20:58:45 +00:00
Rein Klazes
68c78e7344 Corrected operand sizes for the "enter" instruction. 1999-10-31 21:25:11 +00:00
Patrik Stridvall
96336324cf - Added missing configuration #if:s and #includes:s.
- Minor configuration related changes.
1999-10-24 22:13:47 +00:00
Marcus Meissner
88354d97df Added missing include. 1999-10-24 20:44:38 +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
Eric Pouech
1427343172 Fixed potential crash in string variable printing. 1999-10-23 14:19:14 +00:00
Ulrich Weigand
233cb06fd0 Bugfix: (E)IP-relative offsets depend on operand, not address, size. 1999-09-19 12:10:03 +00:00
Eric Pouech
dfd69a38e8 Fixed crash. 1999-09-03 12:44:03 +00:00
Eric Pouech
99b15133b9 Really do a silent backtrace when requested. 1999-08-21 12:56:15 +00:00
Eric Pouech
9bd9b82a7e Do not set the address if the symbol is still tagged INVALID. 1999-08-21 12:53:49 +00:00
Eric Pouech
28fffb7392 Added support for N_BINCL and N_EINCL instructions.
Fixed type parsing (as generated by egcs).
1999-08-21 12:49:35 +00:00
Alexandre Julliard
7d8cfeb95c Removed IP_reg, SP_reg and FL_reg definitions to avoid potential
aliasing optimization problems.
1999-08-01 14:58:01 +00:00
Patrik Stridvall
478eee17be Eliminated warnings. 1999-07-31 13:13:23 +00:00
Kevin Holbrook
95049edd94 Added utility function to invoke external debugger. 1999-07-24 12:07:35 +00:00
Kevin Holbrook
00761353bf Avoid crashing on a bad symbol address of 0x0000. 1999-07-24 10:29:42 +00:00
Patrik Stridvall
021bd85834 Make it possible to compile with GNU C's -I- option. 1999-07-18 18:40:11 +00:00
Howard Abrams
132774804e Added checks for sys/errno.h, sys/signal.h and sys/mman.h. 1999-07-10 13:16:29 +00:00
Ulrich Weigand
d47cdaf96a Bugfix: Grp8 instructions have *byte* BitOffset operand. 1999-06-27 15:29:43 +00:00
Patrik Stridvall
1ed4ecffa8 ANSI C fixes.
Removed warnings.
Made the include files self-sufficient.
Some Solaris fixes.
1999-06-26 14:58:24 +00:00
Juergen Lock
719f308f9e Fix (well kludge around) FreeBSD's `Invalid address' errors. 1999-06-26 11:39:19 +00:00
Alexandre Julliard
0a860a01f9 Merged THDB and TEB structures.
Made SetLastError(), GetCurrentThreadId() and PROCESS_Current() inline.
1999-06-22 11:43:42 +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
Patrik Stridvall
e22a4e573a Changed K&R C function definition to ANSI C. 1999-06-12 06:38:22 +00:00
Pavel Roskin
1fe9eb1bfb Make it possible to link Wine statically (at least on RedHat 6.0). 1999-06-05 11:44:46 +00:00
Eric Pouech
3b50d2115b Fixed a few typos. 1999-05-24 08:14:30 +00:00
Eric Pouech
cb0f1a9cdc Check when backtracking the stack if frames are correct (readable). 1999-05-24 08:13:49 +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
Marcus Meissner
5a1bf8f957 Added support for FreeBSD 3.0 to DEBUG_checkmap_bad(). 1999-05-22 10:36:22 +00:00