Commit Graph

46 Commits

Author SHA1 Message Date
Eric Pouech 2becd3349d winedbg: Merge pointer deref and array index functions into a single one. 2010-04-13 11:42:34 +02:00
Eric Pouech 5aa859de72 winedbg: Allow internal (host) integral variables to hold 64bit value on 64bit platforms. 2009-12-15 11:55:41 +01:00
Eric Pouech 485280c64b winedbg: Enforce 64bit modules address on 64bit platforms. 2009-12-14 12:29:23 +01:00
Alexandre Julliard ec73f0b71a winedbg: Fix a number of 64-bit pointer truncation issues. 2009-12-10 15:23:45 +01:00
Dylan Smith 262e1bfa92 winedbg: Resolve typedefs when checking for user defined type.
All that matters is that the real type is a user defined type (e.g.
structure, class, or union), so I used types_get_real_type instead of
types_get_info to avoid issues with typedefs.
2009-08-27 14:13:49 +02:00
Eric Pouech 87132a3a6a winedbg: Correctly print type for functions without parameters. 2009-06-29 13:13:43 +02:00
Eric Pouech bfb6c80148 winedbg: Print array size when looking at its type. 2009-06-29 13:13:37 +02:00
Michael Stefaniuc 2e6ac3a571 winedbg: Remove some superfluous pointer casts. 2009-04-21 13:16:33 +02:00
Eric Pouech fac7496345 winedbg: Fix the way array derefs are done. 2009-03-30 14:20:44 +02:00
Francois Gouget 96848a0605 Remove spaces before '\n's. 2009-03-09 12:05:58 +01:00
Alexandre Julliard 4441065182 winedbg: Fix pointer cast warnings on 64-bit. 2009-01-09 14:06:12 +01:00
Vincent Povirk 8f6736cf13 winedbg: Fix string format warnings. 2008-12-05 12:30:22 +01:00
Eric Pouech f7f9c08fc0 winedbg: Fixed the print_basic command when dealing with long long values. 2008-05-27 12:03:44 +02:00
Eric Pouech 98e2486820 winedbg: Removed unneeded variable from print_basic. 2008-05-27 12:02:36 +02:00
Gerald Pfeifer a6dd4795fa winedbg: Fix type of loop variable in types_udt_find_element(). 2007-11-16 13:23:48 +01: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 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
Alexandre Julliard 6744929428 winedbg: Win64 printf format fixes. 2006-12-20 14:57:08 +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
Francois Gouget 82babbee0b Add missing '\n's to Wine traces. 2006-10-05 17:46:48 +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
Eric Pouech e79085258b winedbg: Proper handling of typedefs.
Added types_get_real_type() to get rid of typedef information, and
access the real underlying type.
2006-06-20 11:36:25 +02:00
Eric Pouech 65da8987d5 winedbg: Correct typedefs in type manipulations. 2006-06-05 13:24:24 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Eric Pouech 820141114e winedbg: extract_as_integer
- now supporting extract_as_integer on functions (so that, 
  for example, 'disas foo' works as expected)
- now properly handling errors when calling extract_as_integer
2006-05-17 10:41:41 +02:00
Alexandre Julliard 9daaab54c7 winedbg: Use Win32 types instead of long long. 2006-01-23 16:47:07 +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 58968a2867 Native dbghelp doesn't provide names for basic type, so added relevant
basic type names in winedbg.
2005-11-18 16:53:32 +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 6b7bebfbf9 SymGetType(...,TI_GET_LENGTH,...) requires a 64 bit parameter, not a
32 bit one.
2005-11-17 11:51:53 +00:00
Eric Pouech 4cc0bf2848 Fixed bitfield extraction. 2005-10-03 11:04:13 +00:00
Eric Pouech de02b20c0c Fixed array dereferencing. 2005-10-03 10:16:01 +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 29a70954f9 - no longer store internally the " for strings
- misc clean-ups
- activate symbol demangling by default
2005-05-23 09:51:44 +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 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
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
Daniel Marmier 8e5bb20542 Fixed warnings with gcc option "-Wwrite-strings". 2003-10-09 04:39:01 +00:00
Jon Griffiths 09fefeed7a Not everyone has <unistd.h>, some files need <io.h> too (msvc). 2003-09-23 22:54:57 +00:00
Richard Cohen 387ca9ba89 - Print short ASCII strings without the "..."
- Make printing for Unicode strings more similar to ASCII.
2003-08-07 02:56:35 +00:00
Eric Pouech 9859ec4cdb - added GetName() to retrieve type name
- reimplemented DumpTypes so that it really dumps the types content
- now printing type information in 'info sym'
2003-02-17 01:47:38 +00:00
Alexandre Julliard f264bd326b Moved the debugger to programs/winedbg where it belongs. 2002-09-13 17:54:27 +00:00