Commit Graph

60 Commits

Author SHA1 Message Date
Andrew Eikum d3f80c1e9f winedbg: Allow user to specify length of stack info output. 2010-05-25 12:14:00 +02: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
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
Dylan Smith fe8f6b8068 winedbg: Extract address from expression for listing source at address. 2009-08-27 14:13:40 +02:00
Dylan Smith 6f0655242c winedbg: Fixed listing source of function in file. 2009-08-24 15:17:34 +02:00
Dylan Smith 3add397abc winedbg: Remove unused tokens in grammer file. 2009-08-17 14:40:14 +02:00
Dylan Smith 4782d1dde6 winedbg: Prevent syntax error for setting all debug channels.
The lexer was matching tALL before checking for tIDENTIFIER, and the set
command didn't have any rules for tALL, which prevented setting the
flags for all the debug channels.
2009-08-17 14:40:03 +02:00
Francois Gouget 5012a57268 winedbg: Make some functions static. 2009-01-20 12:33:47 +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 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 95f2d367b3 winedbg: Attach the source files to a given process, and unload them at process end. 2008-05-01 11:12:53 +02:00
Rob Shearman a82f4dd9b7 Don't use GetExceptionCode and GetExceptionInformation in exception filter functions.
When using native compiler exceptions, it isn't valid to use 
GetExceptionCode and GetExceptionInformation anywhere other than in the 
filter or handler blocks since it would be very hard for the compiler to 
work out where to retrieve the exception information from on the stack.

Therefore, remove the WINE_EXCEPTION_FILTER and WINE_FINALLY_FUNC macros 
which enabled GetExceptionCode, GetExceptionInformation and 
AbnormalTermination to be used inside of the functions they declared and 
fix up all callers to access the information directly.
2008-02-16 14:57:44 +01:00
Alexandre Julliard 55a57c2130 winedbg: Properly handle EOF on input. 2007-04-26 14:25:32 +02: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 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
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
Alexandre Julliard dfd1abfa57 winedbg: Allow building without debug support in the parser. 2006-09-09 11:26:35 +02:00
Juan Lang b885b76146 winedbg: Get rid of unused mode command. 2006-06-05 21:01:40 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Eric Pouech f661e7a924 winedbg: Fixes for identifiers.
- fixed lexical rules for a path name
- fixed identifier rules so that we get the right precedence
  between ! and ::
- modules (in mod!name forms) are now handled as tIDENTIFIER
  (tPATH was buggy anyhow)
2006-03-27 11:30:50 +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
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 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 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
Ge van Geldorp 1a1583a364 Match PSDK STATUS_* definitions. 2005-11-28 17:32:54 +01: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 f7dd869ebf Dbghelp describes the types of function arguments with a specific
symbol-type (symt) which links both to arguments' type and to function
prototype
- added this new type to dbghelp
- implemented its use in winedbg
2005-11-17 12:53:41 +00:00
Eric Pouech 6cd44bc89d Simplification of lex's input reading. 2005-11-17 11:04:27 +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 e596a0113f Removed a couple of shift/reduce warnings in grammar. 2005-11-12 19:10:24 +00:00
Mike McCormack d73dad6630 Fixes for -Wmissing-declarations and -Wwrite-strings warnings. 2005-06-04 10:01: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
C. Scott Ananian a418694d05 Add tSTRING to the pathname production, so that you can quote a
pathname which contains 'odd' characters.
2005-03-14 10:48:29 +00:00
Alexandre Julliard 3f7f290b0b Fixed a few regressions in the handling of segmented addresses. 2005-03-03 14:10:17 +00:00
Jon Griffiths cb613f5111 Use config.h & HAVE_ where needed, -W fixes. 2005-02-22 14:52:35 +00:00
Eric Pouech 499cff6f26 Cleanup of dbghelp.h (and a couple of definition fixes). The
displacements (in most of the functions) are not optional.
2005-01-31 11:34:59 +00:00
Eric Pouech bcfa5b0900 ReadFile and WriteFile must be passed a parameter for the number of
handled bytes when no overlapped operation is done.
2004-12-22 18:38:31 +00:00
Eric Pouech 99e07b5bf2 - fixed regression in watchpoint setting (by addr)
- in backtrace, show at least module when no symbol is found
- protect event parsing from command line (when no real number)
2004-11-08 20:25:55 +00:00
Eric Pouech 5fe480b472 - fixed regression in ctrl-c handling
- fixed regression in 'info symbol XXXX' command (and enhanced
  presentation)
- fixed regression in line stepping
- fixed regression in & (address operator) handling
- fixed some bad module reference for local symbols
- enhanced register presentation as local variables
- added warning when launching a debuggee which isn't a Wine app
- removed the 'local' extension of display command (and check when
  setting the display whether the expr has a local binding)
- simplified exception handling, and factorized some code when
  debugger stops
2004-09-28 02:13:27 +00:00
Eric Pouech 926f66186f - fixed breakpoint enabled/disabled state management
- fixed recursion in type printing
- now all type-id are stored with the base address of the module which
  defines the type (struct dbg_type takes care of this pairing)
- fixed a couple of bugs in display handling
- fixed strings print and examination
2004-08-22 22:35:36 +00:00
Mike Hearn 48210fc3e4 Add a --command option to winedbg, add an "all" option to the
backtrace command.
2004-06-23 00:10:02 +00:00
Eric Pouech deca2502d6 - all symbol information storage is now module relative, so we can
unload a module (and it's debugging information), and a process
  without pain
- portabiblity to another CPU should be easier now (CPU dependent backend)
- speed up memory allocation
- stabs related fixes:
      + now correctly handling symbol's size
      + blocks {} in functions are now correctly recognized and stored
        (also applies to local variables scoping)
      + better basic types management (less wild guesses in the code)
      + full support of inline functions (source stepping now shows the
        code in .h files for example)
- removal of external debugger (attaching with gdb is just fine to
  debug winedbg)
- fixed a couple of issues for symbol address handling (address
  lookup, incorrect type binding)
- winedbg now has a man page
2004-06-04 00:59:16 +00:00
Eric Pouech 48f97983d7 - get rid of winedbg internal channels for output
- move all standard (old MESG channel) output to stdout
- move all other outputs (TRACE, WARN...) to a new wine debugging
  channel (winedbg)
- replaced quite a few #ifdef:ed out output to new channels (mainly in
  symbol management area...)
- added a new maintenance commands to ease up debugging
- updated documentation accordingly
2003-12-15 19:53:08 +00:00
Alexandre Julliard 402b79a1e8 Porting fixes. 2003-11-27 00:59:36 +00:00
Michal Janusz Miroslaw f3ed10a246 Extend displays: now one can add displays active only in specified
function; displays now can be enabled/disabled like in gdb.
2003-10-14 20:25:16 +00:00