Commit Graph

47 Commits

Author SHA1 Message Date
Eric Pouech 3833600c79 winedbg: Correctly display whether we're in 32 vs 64 bit code. 2010-04-20 11:15:18 +02:00
Eric Pouech e4c29f9087 winedbg: Use standard Wine lists for threads. 2010-04-13 11:43:09 +02:00
Eric Pouech d29c6ead92 winedbg: Store the CONTEXT in each stack frame to enable register access in the non topmost frames. 2010-03-31 11:36:23 +02:00
Mikhail Maroukhine 93d9d8a3af programs: Fix compiler warnings with flag -Wcast-qual. 2010-03-29 12:18:48 +02:00
Eric Pouech 4ce6c90c36 winedbg: Fix some types for homogenous support on 64bit platform. 2009-12-15 11:55:17 +01:00
Eric Pouech 12c3a012cb winedbg: Force 64bit line number information throughout the code to ease 64bit portability. 2009-12-14 12:30:56 +01:00
Eric Pouech 7daa50c041 winedbg: Ensure all addresses passed to break functions are 64bit wide. 2009-12-14 12:29:35 +01:00
Alexandre Julliard ec73f0b71a winedbg: Fix a number of 64-bit pointer truncation issues. 2009-12-10 15:23:45 +01:00
Alexandre Julliard c09ac7a41f winedbg: Use the explicit name for all A/W function. 2009-12-09 18:14:07 +01:00
Alexandre Julliard 8d0cb61bc7 winedbg: Add wrappers for Read/WriteProcessMemory to fix the mingw build. 2009-06-05 15:19:58 +02:00
Rico Schüller 654c7e3668 winedbg: Do not print more than 9 characters from pThread->name. 2009-05-20 10:51:00 +02:00
Mikołaj Zalewski 1e256e426d winedbg: Add a crash dialog for --auto mode. 2009-04-22 17:00:34 +02:00
Alexandre Julliard 4441065182 winedbg: Fix pointer cast warnings on 64-bit. 2009-01-09 14:06:12 +01:00
Eric Pouech 0c4e9df2a1 winedbg: Add a kill command to kill the current process. 2008-10-27 11:28:17 +01:00
Eric Pouech cbb84fdb73 winedbg: Added a command to allow loading mismatched modules. 2008-10-20 13:53:08 +02:00
Eric Pouech 5c8ad49158 winedbg: Use Unicode strings for all module references. 2008-10-20 13:52:44 +02:00
Eric Pouech 6986975816 winedbg: Search default debuggee dir for symbol information. 2008-09-04 13:47:48 +02:00
Michael Stefaniuc 7057d7a914 winedbg: Fix "floating pointer" typo. 2008-06-24 11:51:20 +02:00
Eric Pouech bce64150eb winedbg: Added a way to support differently selector information depending on current target. 2008-01-14 13:38:21 +01:00
Alexandre Julliard c77bc840de winedbg: Print a backtrace in --auto mode. 2007-11-13 21:35:30 +01:00
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
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
Eric Pouech deaa366e4c winedbg: Forward the wShowWindow option from winedbg to the debuggee. 2007-03-06 12:11:18 +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
Alexandre Julliard 6744929428 winedbg: Win64 printf format fixes. 2006-12-20 14:57:08 +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 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
Eric Pouech 588a4422b0 winedbg: Fixed regression in gdb startup (especially gdb proxy). 2006-09-26 12:04:06 +02:00
Alexandre Julliard a27d0aa4e9 include: Added definitions for the fault address exception information. 2006-09-20 11:27:53 +02:00
Eric Pouech 588589b8de winedbg: Don't ask for module inspection when calling SymInitialize. 2006-08-14 20:17:11 +02:00
Ge van Geldorp 1d04f826c7 winedbg: Change ADDRESS variables to ADDRESS64 so we can handle 64-bit addresses. 2006-07-26 15:21:42 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Eric Pouech bf8509d37c winedbg: Fixed regression for command 'bt all'.
Don't print 'process has terminated' message when detaching from a
process (or backtracing it).
2006-05-15 11:04:05 +02:00
Jeff Latimer 0994126701 winedbg: Add display for floating point status.
Added code to examine and display floating point unit status into
be_i386.c as info all-regs command.
2006-03-21 16:30:47 +01:00
Jeff Latimer 18f5d0abdc winedbg: Copy floating point status to the dbgcontext. 2006-03-20 12:04:00 +01:00
Eric Pouech db90e17d92 dbghelp: Live target detection.
- DBGHELP_NOLIVE env variable is tested earlier to avoid 
  some strange effects in live target detection
- in WineDbg, delete DBGHELP_NOLIVE before attaching to
  a process, because we know it must be a live target
2006-03-18 18:05:38 +01:00
Eric Pouech c918e80ed2 winedbg: process_io
- added ability to specify process_io at process creation/attachment
  time
- created a process_io structure for gdbproxy
2006-03-02 11:48:43 +01:00
Eric Pouech f29d084c37 winedbg: main_loop.
- split dbg_main_loop in two parts (one for finishing the debuggee
  attachment, the second one really for handling the main loop)
- removed now longer needed dbg_main_loop
2006-03-02 11:43:10 +01:00
Eric Pouech 5ca519705d winedbg: Added a close_process method to process_io.
- added a close_process method to process_io
- made use of it to get rid of dbg_detach
2006-02-28 12:07:23 +01:00
Eric Pouech 4202c752d3 winedbg: Extend auto mode with minidump.
- added -minidump and -minidump <file> options to command line

Those options are to be used in remplacement of --auto to create a minidump
In the form --minidump <file>, the minidump will be created in <file>,
otherwise the filename will be automatically generated.
2006-02-28 12:06:33 +01:00
Eric Pouech 67001a1d8b winedbg: Rewrite auto mode.
- rewrote auto mode as a specific set of commands to be run in
  regular parser, instead of hard coding those commands
- added a new function to store a set of commands to be executed
  in a file
- added 'echo' command to the parser functions
- got rid of dbg_action_mode
- added support of '--' on command line
2006-02-28 12:05:15 +01:00
Eric Pouech 893d7524c7 winedbg: Auto mode.
- rewrite auto mode startup
- move part of auto handling to tgt_active.c
2006-02-27 14:30:18 +01:00
Eric Pouech ac7be1e91b winedbg: Active and command line.
- move process attachment and process creation (related to command
  line handling) from winedbg.c to tgt_active.c
- tidy up argument parsing
2006-02-27 14:19:57 +01:00
Eric Pouech 829e002c3f winedbg: Active targets
Move all code related to an 'active' target (ie a running process)
from winedbg.c to tgt_active.c.
2006-02-27 14:14:05 +01:00
Eric Pouech d6be549a76 - started infrastructure for proper multi-target support (active
process, minidump...)
- all read/write memory ops are now done thru a centralized process_io
  facility
- minor fixes & cleanups in CPU backends
2005-05-24 11:46:25 +00:00