Commit Graph

81 Commits

Author SHA1 Message Date
Gerald Pfeifer f2d18c1c26 winedbg: Use #elif defined(...) instead of plain #elif in main(). 2009-12-28 12:27:16 +01:00
Gerald Pfeifer 0885d345b6 winedbg: Use #elif defined(...) instead of plain #elif when detecting architectures in dbg_start_interactive(). 2009-12-23 14:27:30 +01:00
Eric Pouech 97d44dd399 dbghelp: Force 64bit module enumeration on all platforms. 2009-12-14 12:29:43 +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
Austin English 7f13b126d5 winedbg: Return 0 if --help is specified. 2009-06-25 11:45:57 +02:00
Mikołaj Zalewski 1e256e426d winedbg: Add a crash dialog for --auto mode. 2009-04-22 17:00:34 +02:00
Michael Stefaniuc 2e6ac3a571 winedbg: Remove some superfluous pointer casts. 2009-04-21 13:16:33 +02:00
Francois Gouget 5012a57268 winedbg: Make some functions static. 2009-01-20 12:33:47 +01:00
Eric Pouech 583e051044 winedbg: Added scoped symbol picker, and options to handle it. 2008-11-11 11:40:36 +01:00
Eric Pouech 508414313e winedbg: Slightly change the option setting syntax (allows also to get the current state back). 2008-11-11 11:40:26 +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
Eric Pouech 95f2d367b3 winedbg: Attach the source files to a given process, and unload them at process end. 2008-05-01 11:12:53 +02:00
Francois Gouget 8a18e0e43a Assorted spelling fixes. 2008-04-07 13:36:18 +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
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 588a4422b0 winedbg: Fixed regression in gdb startup (especially gdb proxy). 2006-09-26 12:04:06 +02:00
Ge van Geldorp e08a176007 winedbg: Added x86_64 support. 2006-06-20 11:06:31 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Eric Pouech 81198f3971 winedbg: Bring usage() and .man up to date. 2006-03-02 11:55:12 +01:00
Eric Pouech 348067a9bf winedbg: Add ability to reload a minidump.
- now recognize winedbg foo.mdmp on command line
- fleshed out tgt_minidump to reload information from minidump
2006-03-02 11:49:41 +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 a67f8e862e winedbg: Move gdb command line handling.
- moves gdb command line handling to gdbproxy.c
- using manifest constants to make code more readable
2006-02-27 14:22:21 +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 a7ff2f671c winedbg: A couple of fixes after running valgrind. 2006-02-16 12:06:43 +01:00
Eric Pouech 6ab9b23526 winedbg: Hardware breakpoints
- implemented hardware assisted breakpoints (new 'hbreak' command
  which behaves just as 'break' command)
- small improvements to break handling (saving hit xpoint across
  exception handling)
- fixed 'cont N' command for watchpoints
2006-01-27 16:17:22 +01:00
Alexandre Julliard b7b7f2b679 Avoid importing _strlwr/_strupr from ntdll. 2006-01-24 12:24:05 +01:00
Eric Pouech 9d0b5f5372 winedbg: Added a more decent scheme for handling segmented addresses. 2006-01-23 16:26:40 +01:00
Eric Pouech ae6239d53d Centralized calls for SymSetContext, we only do it when we change the
current stack frame, and no longer every time we look up local symbols
on current stack
2005-11-18 16:27:55 +00:00
Eric Pouech 3e07e04764 - now storing frames information in thread structure
- frames are cached after each thread stops execution
- reimplemented backtrace on top of this
2005-11-18 12:33:03 +00:00
Eric Pouech 73b0e94bb3 Now returning correct symbol flags (as native does) for function pmts
& locals in dbghelp.
Modified winedbg accordingly.
2005-11-18 12:05:44 +00:00
Eric Pouech 1c5d35fd92 Added ability to execute commands from a file passed on command line
(through --file option).
Use that feature to get rid of arg_command hack (--command option now
creates a temporary file).
2005-11-16 11:23:07 +00:00
Eric Pouech 9c63540d55 Now printing information when changing function while single stepping. 2005-10-03 11:04:29 +00:00
Glenn Wurster 7ba6502dd9 Don't pass on EH_STACK_INVALID exceptions. 2005-08-23 10:02:05 +00:00
Mike McCormack 257c337c19 gcc 4.0 -Wpointer-sign fixes (Reg* functions). 2005-07-07 12:08:42 +00:00
Francois Gouget 0f150ad86d Improve the winedbg usage. 2005-06-30 18:09:15 +00:00
Alexandre Julliard 2e4bca9db5 Added magic comments to all Wine-specific registry accesses to make
them easier to grep.
2005-06-13 18:56:00 +00: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
Eric Pouech a561275579 - now storing exception info (if any) in thread structure
- added minidump function in winedbg (write only)
2005-05-23 16:22:44 +00:00
Eric Pouech 29a70954f9 - no longer store internally the " for strings
- misc clean-ups
- activate symbol demangling by default
2005-05-23 09:51:44 +00:00