Commit Graph

66 Commits

Author SHA1 Message Date
Eric Pouech 72a7369ebc Added ability to defer breakpoint setting for breakpoint defined by an
absolute address.
2002-07-30 00:06:34 +00:00
Bill Medland e105023871 - Document where the stabs information can be found, so that someone
can help upgrade this code.
- A couple of minor enhancements towards handling C++.
- Don't bother trying to load libstdc++, rather than generating an
  enormous number of "errors".
2002-07-22 20:38:10 +00:00
Eric Pouech b6941bbb4e Added a remote proxy for gdb. 2002-07-20 20:29:09 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard b53f13093e Attempt at fixing MAX_PATH issues for mingw. 2002-05-01 18:13:18 +00:00
Alexandre Julliard 9c54cfa56a More portable signature check. 2002-04-02 19:42:38 +00:00
Alexandre Julliard a57149e155 Check ELF signature before processing file. 2002-04-02 02:38:37 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Peter Hunnisett 22ad2d22b6 Avoid assert for very large C++ .so files. 2002-02-21 20:10:01 +00:00
Eric Pouech 02ecb68453 Fixed stabs parsing for GCC 3.0 (default types).
Added boolean type support.
Simplified internal types handling.
2001-12-21 20:29:58 +00:00
Eric Pouech 624cbd7c47 Fixes for Solaris X86. 2001-08-10 22:29:21 +00:00
Eric Pouech eaafb73cd5 Added the notion of delayed breakpoint (when a function is not loaded
yet, the name will be tried again for each new loaded module).
2001-05-21 18:33:15 +00:00
Jon Griffiths 004dc8228b Increased debugger include limit to 512. 2001-01-22 02:17:46 +00:00
Joerg Mayer d18140cef4 Fix the trivial compiler warnings in debugger/ when compiling with -W
- moved inline statements to front
- fixed the trivial cases of signed/unsigned comparisons
2000-12-26 01:28:51 +00:00
Eric Pouech 0421138903 Improved stabs loading (now using recursive parsing, required by stabs
generated by latest gcc versions).
2000-12-01 20:45:43 +00:00
Dimitrie O. Paun db1e5dbfef Do not use a.out.h. 2000-11-29 19:00:23 +00:00
Dmitry Timoshkov af1df43df8 Skip directories when loading debug symbols. 2000-11-15 23:04:41 +00:00
Eric Pouech e939206f90 Improved internal module handling (module now have a size, map of
loaded module is clearer, better error reporting, seperated module
loading code from symbol extraction).
2000-11-15 22:16:26 +00:00
Juergen Schmied cc5365836a Fixed loading of symbols from libraries. 2000-10-12 20:45:26 +00:00
Gerald Pfeifer bd529026e1 Added missing cast. 2000-09-29 00:23:26 +00:00
Gerald Pfeifer acc81bab87 Added two missing casts. 2000-09-02 23:17:21 +00:00
Dmitry Timoshkov 7d64d7d1d7 Do not crash if path is NULL in DEBUG_ProcessElfFileFromPath. 2000-08-18 23:43:09 +00:00
Eric Pouech 9454801cd9 Enhanced ELF files lookup for symbolic info. 2000-08-15 12:00:52 +00:00
Eric Pouech 71189b5224 fixed a number of long standing bugs:
- segmented expressions didn't display correctly
    - using dynamic size array for nested types parsing
    - correct display of source code after a crash
factorized some code
2000-07-25 12:51:56 +00:00
Eric Pouech f1822356b5 Fixed %p in printf (now using wsprintf which doesn't support it).
Added ThreadId and ProcessId internal vars.
Allow at startup to pick up a process to debug.
2000-05-11 21:43:43 +00:00
Marcus Meissner 508911b446 Old versions of glibc might not have STN_UNDEF defined. 2000-05-07 18:27:28 +00:00
Eric Pouech b971745ca0 Fixed some buffer overflows.
Made stab parsing more robust (now ignores C++ stabs).
Display correct backtrace at first when invoked on unhandled exception.
Loads stabs from .so files when those are loaded.
2000-05-05 18:14:34 +00:00
Eric Pouech 04c16b828e - Enhanced internal variables framework (including read/save to
registry and typing)
- Finalized use of Windows' Console I/O interface (instead of Unix std
  streams)
- Now handling registers as internal variables (they are no longer
  seen as a specific type)
2000-04-30 12:21:15 +00:00
Eric Pouech e5efa0ceb6 Made the winedbg an external and WineLib program.
Centralized output handling (preparation for console usage).
Fixed a few debug information reading options (stabs and sym).
Started a framework to hold debugger's internal variables.
2000-04-13 19:31:58 +00:00
Eric Pouech 9505c1c8da Now read .so list from debuggee's address space. 2000-03-26 14:42:21 +00:00
Eric Pouech ac11a68f3e improved exception handling
merged all module handling code in new module.c file
reenabled 'walk module' and 'info module' commands
added ability to drive break on thread startup
2000-03-26 13:37:39 +00:00
Eric Pouech d33bcb6139 Introduced DBG_VALUE struct to manipulate debugger/debuggee address space.
Added watch (hardware assisted debugging) and whatis (type of expr) commands.
Fixed some issues in local vars handling (stabs parsing & registers optimization).
2000-03-15 19:57:20 +00:00
Eric Pouech 527eea99f8 No longer directly accessing debuggee memory.
Execution context (mode, steps...) are now linked to a thread.
Removed some X11 crst hacks.
Rewrote info/walk commands.
Removed direct debugger invocation code (and moved the rest to the new
winedbg.c file).
2000-03-08 16:44:54 +00:00
James Abbatiello 1758f2d81a Misc. fixes for compiler warnings. 2000-02-25 21:01:50 +00:00
Alexandre Julliard eafa391081 Use argv[0] to locate the server executable. 2000-01-25 21:19:58 +00:00
Niels Kristian Bech Jensen 1d5bc469cc Removed extra #include statements. 1999-11-21 02:14:36 +00:00
Patrik Stridvall 96336324cf - Added missing configuration #if:s and #includes:s.
- Minor configuration related changes.
1999-10-24 22:13:47 +00:00
Eric Pouech dfd69a38e8 Fixed crash. 1999-09-03 12:44:03 +00:00
Eric Pouech 28fffb7392 Added support for N_BINCL and N_EINCL instructions.
Fixed type parsing (as generated by egcs).
1999-08-21 12:49:35 +00:00
Howard Abrams 132774804e Added checks for sys/errno.h, sys/signal.h and sys/mman.h. 1999-07-10 13:16:29 +00:00
Patrik Stridvall 1ed4ecffa8 ANSI C fixes.
Removed warnings.
Made the include files self-sufficient.
Some Solaris fixes.
1999-06-26 14:58:24 +00:00
Pavel Roskin 1fe9eb1bfb Make it possible to link Wine statically (at least on RedHat 6.0). 1999-06-05 11:44:46 +00:00
Patrik Stridvall a9a671d7ca Fixed ANSI compabillity. 1999-04-25 19:01:52 +00:00
Ove Kaaven dda17c681f Added a possibility to let the internal debugger use a separate
heap. Not enabled by default, change #if in include/debugger.h to use
this (the heap allocator is very slow).
1999-04-25 12:24:42 +00:00
Marcus Meissner 04c3e1d456 Removed a lot of occurences of windows.h (and added necessary other
includes).
1999-02-19 10:37:02 +00:00
Marcus Meissner b178207920 Added possibility to load .stabs/.stabstr sections from PE dlls.
Unfortunately my samples use currently typedefs which wine-dbg does
not understand, so no actual parsing.
1999-02-14 09:27:42 +00:00
Marcus Meissner 592ba10565 autoconf: added checks for libio.h, elf.h, curses.h,ncurses.h and
fixed includers.
1999-01-20 14:18:55 +00:00
Marcus Meissner 73458b03cd Changed // comments to /* */ so WINE compiles with non-gcc compilers
again.
1998-12-26 12:54:29 +00:00
François Gouget 241c730d54 Fixed some LPPOINT/LPSIZE mismatches and some missing "const" in the
headers prototypes.
1998-10-28 10:47:09 +00:00
Ove Kaaven 7e5b3b3d83 Added a memset() to prevent a debugger segfault caused by
uninitialized pointers in the stabs lookup tables.
1998-10-11 12:13:42 +00:00