Commit Graph

94 Commits

Author SHA1 Message Date
Robert Shearman
abfcc0bdad Limit StackWalk iterations to prevent infinite loop. 2004-11-06 03:44:44 +00:00
Vincent Béron
2c1b35dd17 Add some more Alpha asm code and Alpha-specific parts. 2004-10-18 21:27:52 +00:00
Robert Shearman
6c50556e8b Fix function and structure field types so we are compatible with the
native dbghelp.
2004-10-11 21:00:17 +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
Robert Shearman
e4e7186b25 Fix debugger for flat PC and non-flat frame. 2004-09-23 04:27:46 +00:00
Hans Leidekker
719a789792 Fix signed/unsigned comparison warnings. 2004-09-22 02:46:38 +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
Alexandre Julliard
25e2a320a7 Don't define BEGIN_INTERFACE in unknwn.h. 2004-08-22 21:38:46 +00:00
Marcus Meissner
fac7405531 Replaced undefined C expression. 2004-08-02 18:25:58 +00:00
Pierre d'Herbemont
58f25b7b03 Define the backend_cpu regarding the host processor. 2004-07-16 02:31:55 +00:00
Eric Pouech
3b8805fca0 Fixed regression on 'bt <tid>' command. 2004-07-12 19:48:04 +00:00
Eric Pouech
10e8ed071a - enhanced 'info share' output
- made use of new dbghelp pure ELF symbol lookup
2004-07-04 00:25:15 +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
4e0b582903 Fix compile error on non-i386. 2004-06-22 02:06:37 +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
Francois Gouget
22ff3d43f7 Have winedbg send its output to stderr when invoked with the --auto
option.
2004-04-15 04:58:09 +00:00
Alexandre Julliard
6be39b60f5 Take advantage of the new winegcc -B support. 2004-03-09 04:54:07 +00:00
Alexandre Julliard
589e115233 We no longer use the .exe.spec.c files. 2004-03-02 21:16:37 +00:00
Alexandre Julliard
6621b2d213 Build all the programs with winegcc. 2004-03-02 21:00:00 +00:00
Matt Chapman
9f9462a1c9 Fix dumping of Unicode strings. 2004-02-25 01:24:42 +00:00
Yorick Hardy
3e2fa2c33a Use SHN_UNDEF instead of STN_UNDEF to specify undefined section
index.
2004-02-24 01:22:37 +00:00
Eric Pouech
141db032c4 - fixed ELF modules' size information
- fixed containers' tests
2004-02-24 00:59:57 +00:00
Francois Gouget
ad5ff7ceeb Assorted spelling and case fixes. 2004-02-09 22:07:42 +00:00
Eric Pouech
269b8a0e8c Fixed typo. 2004-02-06 05:22:14 +00:00
Eric Pouech
53fa0d5433 - Fixed broken winedbg compilation on BSD.
- Fixed some corner case handling in ELF list walking (reported by
  Robert Shearman).
2004-02-05 01:27:38 +00:00
Eric Pouech
62bf6ecc85 - now detecting Dwarf debug information in ELF modules (but don't load
it)
- separated module management (pe.c, elf.c) from debug information
  management (stabs.c, msc.c)
- worked around new wine-pthread and wine-kthread loaders (no longer
  use "wine" as default loader)
- better convergence of gdb-proxy and winedbg for ELF handling
- fixed ELF link-map walking - now using all loaded shared libs -
  (with the help of Robert Shearman)
- added a bit of const correctness
2004-02-03 00:14:12 +00:00
Eric Pouech
39628f49ed - now reporting message on bogus line number in 'bp <num>' commands
(useful when user thinks <num> is a linear address)
- fixed bogus return value in DEBUG_AddBreakpoint
2004-01-28 20:05:39 +00:00
Sami Aario
a24da03943 Fix a debug message. 2004-01-27 03:59:36 +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
Andrew de Quincey
fc0968d4d1 Fixed one more HeapReAlloc call. 2003-11-30 02:53:29 +00:00
Alexandre Julliard
402b79a1e8 Porting fixes. 2003-11-27 00:59:36 +00:00
Alexandre Julliard
49a98285ed Fixed one more HeapReAlloc call. 2003-11-26 04:10:08 +00:00
Rein Klazes
8404438f71 Let "info wnd" print the client rectangle in screen coordinates. 2003-11-05 00:36:23 +00:00
Rolf Kalbermatter
76f13deb26 Use INVALID_FILE_ATTRIBUTES to test for failure of
GetFileAttributesA/W and not -1 or 0xFFFFFFFF.
2003-10-16 19:12:49 +00:00
Alexandre Julliard
a167c3bb68 Get rid of the memory allocation macros, use real functions instead. 2003-10-15 21:14:08 +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
Dimitrie O. Paun
921df719e5 Fix some instances of memory allocation through HeapReAlloc(). 2003-10-11 05:25:31 +00:00
Daniel Marmier
8e5bb20542 Fixed warnings with gcc option "-Wwrite-strings". 2003-10-09 04:39:01 +00:00
Alexandre Julliard
c30cefb2d5 Store module names in Unicode in the server. 2003-09-30 01:04:19 +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
Michal Janusz Miroslaw
bf3de5ed6b DEBUG_cmp_sym: micro optimization/cleanup. 2003-09-22 21:12:44 +00:00
Alexandre Julliard
62986a0107 Added a few missing stdarg.h includes. 2003-09-07 05:08:14 +00:00
Alexandre Julliard
e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard
ee106783d0 Renamed EXCEPTION_FRAME to EXCEPTION_REGISTRATION_RECORD since that
seems to be the official name.
2003-08-28 03:07:56 +00:00
Alexandre Julliard
1f467ffca6 Correctly pass the exception to the application when
BreakOnFirstChance is 0.
2003-08-21 21:28:51 +00:00
Gregory M. Turner
7bcf7b1602 Wrap error-prone msc symbol loading with a __TRY block. 2003-08-19 00:57:58 +00:00
Richard Cohen
574f058bae Use the ELF sections for the addresses of globals, as the STABS are
likely to be wrong.
2003-08-07 02:56:55 +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
André Johansen
aeffb6c312 Avoid crashing when unable to read pdb file. 2003-08-02 00:43:32 +00:00
Francois Gouget
3ca761220a Spelling fixes (s/occured/occurred/ and variants). 2003-07-15 20:53:39 +00:00