Commit graph

25 commits

Author SHA1 Message Date
Eric Pouech 24069aad30 winedbg: Don't crash when no search path has been set.
Note: it's anyway wrong to search source files inside modules' path
(a proper fix will require revisiting source file handling).
This fix will actually be sufficient when running wine from within
its build tree.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2023-04-05 15:24:41 +02:00
Eric Pouech 890e3baaba winedbg: Use CRT allocation functions.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-07-25 11:22:18 +02:00
Alexandre Julliard 0ea9fe999c winedbg: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-04 15:20:56 +02:00
André Hentschel 4f1ed54c7d winedbg: Remove a dead assignment (Clang).
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-25 14:07:16 +01:00
Marcus Meissner 92286a521f winedbg: Close filehandle on one exit branch (Coverity). 2015-05-07 22:29:22 +09:00
Eric Pouech 1adbe82601 winedbg: Display a valid source file when reporting an error about a missing source file. 2011-03-16 14:14:22 +01: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
Eric Pouech 2a771d294f winedbg: Fix the path traversal. 2008-05-13 10:40: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
Eric Pouech 6f84b1c640 winedbg: Try harder to locate a source file. 2008-05-01 11:12:17 +02:00
Andrew Talbot d275a4d3af winedbg: Fix a memory leak. 2007-10-24 15:51:05 +02:00
Eric Pouech 6a0568a11a winedbg: Rewrote the file handling to use SearchPath instead of home grown version. 2006-10-03 20:19:19 +02:00
Marcus Meissner b3a72ad1dd Remove some more unused debugging channels. 2006-08-29 12:28:58 +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
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02: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 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
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
Jon Griffiths 09fefeed7a Not everyone has <unistd.h>, some files need <io.h> too (msvc). 2003-09-23 22:54:57 +00:00
Eric Pouech fa05849e67 Translated sprintf calls into snprintf. 2003-02-11 22:07:16 +00:00
Alexandre Julliard f264bd326b Moved the debugger to programs/winedbg where it belongs. 2002-09-13 17:54:27 +00:00
Renamed from debugger/source.c (Browse further)