Commit Graph

282 Commits

Author SHA1 Message Date
Francois Gouget 9271fcc86d winedbg: 'winedbg --auto' and 'winedbg --minidump' should detach when done so as to not mess up the crashed process exit code. 2007-08-31 12:08:58 +02:00
Francois Gouget 6d1f931615 winedbg: Detach from the debuggee before exiting. 2007-08-31 12:08:58 +02:00
Francois Gouget 9d2f48dc0f dbghelp: Better match the PSDK types, especially with regards to constness.
Also add a number of missing prototypes, especially 64bit or Unicode
versions of existing prototypes, and the related structures.  Update
win32.api to fix the winapi_check warnings.
2007-08-03 12:43:40 +02:00
Michael Stefaniuc 9a522589fb programs: Remove unreachable break after return/break. Found by Smatch. 2007-07-19 11:57:53 +02:00
Alexandre Julliard 87fe0145c0 winedbg: Added support for indirect call with absolute address. 2007-06-18 17:21:07 +02:00
Dmitry Timoshkov e0510e42fe winedbg: Fix a problem revealed by compilation in 64-bit mode. 2007-05-24 11:36:36 +02:00
Peter Oberndorfer 394a36c25a winedbg: Only check for break/watch points on first chance exceptions. 2007-05-23 12:51:16 +02:00
Peter Oberndorfer 0bfb26aa99 winedbg: Show some info for msvcrt C++ exceptions. 2007-05-23 12:51:02 +02:00
Alexandre Julliard 55a57c2130 winedbg: Properly handle EOF on input. 2007-04-26 14:25:32 +02:00
Chris Robinson 449aacc125 winedbg: Align module addresses to 8 characters. 2007-04-09 12:18:55 +02:00
Eric Pouech 06b414086a winedbg, winedump: Extended some info printed from system info directory in minidump about the CPU. 2007-04-02 12:07:12 +02:00
Eric Pouech 0fc4013f7c winedbg: When reloading real PE modules from a minidump, also look in the search path (as we do for ELF modules). 2007-04-02 12:06:28 +02:00
Peter Oberndorfer e879efcc74 winedbg: Do not write over const char * parameter.
Also pass the right string to SymEnumSymbols and check for _ in symbol
name, instead of beginning of string.
2007-03-08 11:58:17 +01:00
Eric Pouech deaa366e4c winedbg: Forward the wShowWindow option from winedbg to the debuggee. 2007-03-06 12:11:18 +01:00
Eric Pouech e374bcffee winedbg: We no longer need to force for ELF modules in minidumps as we do it automatically now. 2007-03-06 12:11:13 +01:00
Eric Pouech cc3dd00c04 dbghelp: module target: Better error handling when init fails and creates a dummy thread. 2007-03-05 12:15:45 +01:00
Eric Pouech 90167f26d3 winedbg: When reloading a minidump, recreate all threads from the thread record (and not just the first one). 2007-03-05 12:14:58 +01:00
Eric Pouech dbe0610bb4 winedbg: Fix printing function signature type for circular references on return type. 2007-03-05 12:14:42 +01:00
Eric Pouech 51a9b2273b winedbg: Fix maint type when no process is active. 2007-03-05 12:14:22 +01:00
Eric Pouech 7694da86ab winedbg: Some enhancements by using Unicode flavors. 2007-02-22 12:28:17 +01:00
Eric Pouech b795f8735d winedbg: Support for debugging child processes.
Added internal flag (AlsoDebugProcChild) to let winedbg debug both
parent and child (in the same WineDbg session).
2007-02-12 13:59:53 +01:00
Eric Pouech 6cf2734574 winedbg: Correctly handle invalid read conditions. 2007-02-12 13:59:14 +01:00
James Hawkins 8be71fef5b winedbg: Check buffer for NULL before writing to it. 2007-01-11 12:04:51 +01:00
Eric Pouech b2557f25d9 winedbg: Added a maintenance command to load a given module (for debug purposes). 2007-01-04 11:12:06 +01:00
Alexandre Julliard 7035aa5041 make_makefiles: Generate the top-level .gitignore file.
Add a PROGRAMS variable in some makefiles to make things easier.
2006-12-27 21:23:36 +01:00
Alexandre Julliard 6744929428 winedbg: Win64 printf format fixes. 2006-12-20 14:57:08 +01:00
Alexandre Julliard 2bc33389e8 winedbg: Fixed a few data types. 2006-12-20 14:57:08 +01:00
Francois Gouget 367f91fb5c Assorted spelling fixes. 2006-12-14 20:25:05 +01:00
Eric Pouech 32a8b2fa59 winedbg: Added support for constant values passed by dbghelp. 2006-12-06 11:38:53 +01:00
Eric Pouech a274689b09 winedbg: Dwarf can emit REGREL symbol information, so handle it.
Factorize a bit more some symbol handling code.
2006-12-04 14:03:19 +01:00
Eric Pouech 932ad65c83 winedbg: Now that local variable computation depends on instruction
pointer value, be sure to have the relevant insn ptr value when
fetching the stack frames (spotted by Peter Oberndorfer).
2006-12-04 14:03:04 +01:00
Eric Pouech d6d8682d71 winedbg: Added some black magic to still handle register values on non
current frame for some of the registers we know of (frame pointer,
stack pointer).
2006-12-04 14:02:02 +01:00
Eric Pouech 4c634078b3 winedbg: Remove some hassle from sgv_cb, and handle line number displacement where needed. 2006-12-04 14:01:38 +01:00
Eric Pouech 66cbe625d4 winedbg: No longer test filename in sgv_cb, but do it in the only place where we actually need it. 2006-12-04 14:01:02 +01:00
Eric Pouech 7ca25148f4 winedbg: Added basic support for printing 64bit wide entities. 2006-11-27 18:09:30 +01:00
Eric Pouech 135f2e1b79 winedbg: Host references lookup.
Since more and more information in now available through the CPU
registers, those require DLV_HOST access to be a bit better handled
than it is...
2006-11-27 18:07:00 +01:00
Eric Pouech 62f16d3cd4 winedbg: Various information printing issues.
- in backtraces, (void) functions should be listed with '()' as arguments instead of ''
- factorized code for diplaying information about a local/parameter
- fixed a couple of bugs here
- rewrote format specifiers for print commands (do no waste space for padding data)
- added support for new wine's dbghelp extension for local/parameter
  variables being out of scope
2006-11-27 18:06:41 +01:00
Eric Pouech ec087dac4f winedbg: Added a few more cases where we inspect if i386 instructions
are actually calls (based on previous work by Jeff Latimer).
2006-10-23 12:27:00 +02:00
Peter Oberndorfer 9e30761951 winedbg: Print frame address instead of duplicated bare address in backtrace. 2006-10-18 12:35:20 +02:00
Francois Gouget 82babbee0b Add missing '\n's to Wine traces. 2006-10-05 17:46:48 +02:00
Eric Pouech 6a0568a11a winedbg: Rewrote the file handling to use SearchPath instead of home grown version. 2006-10-03 20:19:19 +02:00
Eric Pouech 28dc896b28 winedbg: Fixed the auto mode. 2006-10-03 11:54:36 +02:00
Peter Oberndorfer b480668942 winedbg: Don't try to read to invalid memory if winedbg does not find the thread. 2006-10-02 21:37:34 +02:00
Michael Stefaniuc 85ce5117c5 Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int. 2006-09-29 16:08:30 +02:00
Eric Pouech 588a4422b0 winedbg: Fixed regression in gdb startup (especially gdb proxy). 2006-09-26 12:04:06 +02:00
Eric Pouech e3f8799a42 winedbg: Put back the %d format for printing integral values even for
64bit internal values as the default format in winebdg command imposes.
2006-09-26 11:59:55 +02:00
Alexandre Julliard a27d0aa4e9 include: Added definitions for the fault address exception information. 2006-09-20 11:27:53 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Alexandre Julliard 1be6e9a6b1 winedbg: Change the prefix on bison-generated names to avoid the name-prefix directive. 2006-09-12 09:04:43 +02:00
Alexandre Julliard bcdc5fb55f Make.rules: Set the default prefix for bison files from the file basename. 2006-09-11 21:47:49 +02:00