Alexandre Julliard
8b3b328319
winedbg: Implement single step for x86_64.
2009-05-01 18:29:10 +02:00
Alexandre Julliard
b26ae69fcb
winedbg: Fix formatting of the flag register bits.
2009-05-01 18:28:49 +02:00
Ken Sharp
3ab52c2097
winedbg: Correct slight typo in winedbg dialog.
2009-04-24 11:51:06 +02:00
Mikołaj Zalewski
1e256e426d
winedbg: Add a crash dialog for --auto mode.
2009-04-22 17:00:34 +02:00
Michael Stefaniuc
2e6ac3a571
winedbg: Remove some superfluous pointer casts.
2009-04-21 13:16:33 +02:00
Dmitry Timoshkov
c23beb3102
winedbg: Fix a typo in the comment.
2009-04-15 15:56:33 -05:00
Alexandre Julliard
09d7fa707f
winedbg: Add context dumping for x86_64.
2009-04-08 20:40:35 +02:00
Eric Pouech
fac7496345
winedbg: Fix the way array derefs are done.
2009-03-30 14:20:44 +02:00
Alexandre Julliard
d7d84e71d3
winedbg: Don't name a function PRIVATE.
2009-03-12 14:29:53 +01:00
Francois Gouget
96848a0605
Remove spaces before '\n's.
2009-03-09 12:05:58 +01:00
Francois Gouget
d1110dd2e9
winedbg: Remove spaces before '\n's.
2009-03-09 12:05:33 +01:00
Mike Ruprecht
c7b204e98a
winedbg: Fix typo in a comment.
2009-03-02 12:03:19 +01:00
Marcus Meissner
102a3b9892
winedbg: Check for buffer being NULL.
2009-02-02 15:21:43 +01:00
Francois Gouget
4061d1f8d8
winedbg: Make lexeme_alloc() static in debug.l.
2009-01-20 12:33:52 +01:00
Francois Gouget
5012a57268
winedbg: Make some functions static.
2009-01-20 12:33:47 +01:00
Alexandre Julliard
4441065182
winedbg: Fix pointer cast warnings on 64-bit.
2009-01-09 14:06:12 +01:00
Francois Gouget
a9d3d0e942
winedbg: Remove an unused debug channel (winedbg).
2008-12-29 11:35:37 +01:00
Christian Costa
88cf37fd85
winedbg: Make frame numbers display starting from 0 so we match frame command.
2008-12-08 12:02:43 +01:00
Vincent Povirk
8f6736cf13
winedbg: Fix string format warnings.
2008-12-05 12:30:22 +01:00
Francois Gouget
9c5e97aa71
Assorted spelling fixes.
2008-11-24 14:25:10 +01:00
Eric Pouech
583e051044
winedbg: Added scoped symbol picker, and options to handle it.
2008-11-11 11:40:36 +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
4c00325c3b
winedbg: Rewrote the symbol picking mechanism so that it can handle several algorithms.
2008-11-11 11:40:17 +01:00
Michael Stefaniuc
880d944ea0
winedbg: Use FIELD_OFFSET instead of reimplementing it.
2008-11-03 13:40:20 +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
5c8ad49158
winedbg: Use Unicode strings for all module references.
2008-10-20 13:52:44 +02:00
Alexandre Julliard
01b7667a1a
programs: Convert source files to utf-8.
2008-10-18 19:22:19 +02:00
Florian Köberle
49c96a5075
winedbg: Fixed an infinite loop.
2008-09-12 11:39:52 +02:00
Eric Pouech
a181ad5a2c
winedbg: Also handle 1 byte signed int as they were char (PDB files are done like this... sigh).
2008-09-08 12:47:20 +02:00
Eric Pouech
6986975816
winedbg: Search default debuggee dir for symbol information.
2008-09-04 13:47:48 +02:00
Alexandre Julliard
b3ec2e5f95
makefiles: Recurse into all directories for install-lib and install-dev too.
2008-08-25 14:27:03 +02:00
Eric Pouech
687a00c0af
winedbg: Don't force integral values while displaying a stack value, it doesn't work for float/double values.
2008-08-18 14:34:10 +02:00
Gerald Pfeifer
b15bcddeac
winedbg: Fix the type of four loop variables and reduce scope of one.
2008-07-22 15:25:47 +02:00
Alexandre Julliard
28a2179dd6
Add noinput directive to all lex files to avoid a compiler warning.
2008-07-07 12:31:33 +02:00
Michael Stefaniuc
7057d7a914
winedbg: Fix "floating pointer" typo.
2008-06-24 11:51:20 +02:00
Jon Griffiths
9e62412dc1
winedbg: Add support for printing c++ bool values.
2008-06-18 16:48:17 +02: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
Alexandre Julliard
2e83ea49be
winedbg: Fix compile when poll() is not available.
2008-05-26 19:25:04 +02:00
Eric Pouech
2a771d294f
winedbg: Fix the path traversal.
2008-05-13 10:40:08 +02:00
Eric Pouech
bd6b394e84
winedbg: Added ability to print properly float/double values.
2008-05-01 18:11:26 +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
5d90e60ed5
winedbg: Added implementation of qSupported request.
2008-05-01 11:12:24 +02:00
Eric Pouech
6f84b1c640
winedbg: Try harder to locate a source file.
2008-05-01 11:12:17 +02:00
Alexandre Julliard
ef07d83405
Include wine/port.h everywhere we use exceptions.
2008-04-29 20:18:49 +02:00
Francois Gouget
8a18e0e43a
Assorted spelling fixes.
2008-04-07 13:36:18 +02:00
Alexandre Julliard
41fbacefa1
Avoid the nounistd option that doesn't exist on older flex, define YY_NO_UNISTD_H instead.
2008-02-19 15:42:49 +01:00
Rob Shearman
878ea5d2e2
Add the nounistd option to all lex source files.
2008-02-19 13:39:25 +01:00
Alexandre Julliard
a8b0a5ea91
winedbg: Avoid using size_t in an error message.
2008-02-18 14:10:03 +01: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
Eric Pouech
336c000d4e
winedbg: Implemented the pXX request in gdb proxy.
2008-02-04 14:18:59 +01:00
Eric Pouech
bce64150eb
winedbg: Added a way to support differently selector information depending on current target.
2008-01-14 13:38:21 +01:00
Eric Pouech
bd007a1576
winedbg: Workaround broken minidumps with invalid 32->64 address conversion.
2008-01-14 13:37:54 +01:00
Eric Pouech
f7908160eb
winedbg: Fixed bt all so that current process/thread isn't lost.
2008-01-14 13:37:40 +01:00
Gerald Pfeifer
cdaf13052a
winedbg: Warning fixes.
2007-11-29 15:34:45 +01:00
Gerald Pfeifer
a6dd4795fa
winedbg: Fix type of loop variable in types_udt_find_element().
2007-11-16 13:23:48 +01:00
Alexandre Julliard
c77bc840de
winedbg: Print a backtrace in --auto mode.
2007-11-13 21:35:30 +01:00
Andrew Talbot
d275a4d3af
winedbg: Fix a memory leak.
2007-10-24 15:51:05 +02:00
Francois Gouget
c4b1195c0c
Assorted spelling fixes.
2007-10-23 18:20:27 +02:00
Francois Gouget
98d63f3435
dbghelp & imagehlp: Fix the PSYM_ENUMSYMBOLS_CALLBACK() and PSYM_ENUMERATESYMBOLS_CALLBACK() prototypes.
...
Tweak the actual callbacks to better match the prototypes.
2007-09-18 11:20:24 +02:00
Francois Gouget
9271fcc86d
winedbg: 'winedbg --auto' and 'winedbg --minidump' should detach when done so as to not mess up the crashed process exit code.
2007-08-31 12:08:58 +02:00
Francois Gouget
6d1f931615
winedbg: Detach from the debuggee before exiting.
2007-08-31 12:08:58 +02: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
Michael Stefaniuc
9a522589fb
programs: Remove unreachable break after return/break. Found by Smatch.
2007-07-19 11:57:53 +02:00
Alexandre Julliard
87fe0145c0
winedbg: Added support for indirect call with absolute address.
2007-06-18 17:21:07 +02:00
Dmitry Timoshkov
e0510e42fe
winedbg: Fix a problem revealed by compilation in 64-bit mode.
2007-05-24 11:36:36 +02:00
Peter Oberndorfer
394a36c25a
winedbg: Only check for break/watch points on first chance exceptions.
2007-05-23 12:51:16 +02:00
Peter Oberndorfer
0bfb26aa99
winedbg: Show some info for msvcrt C++ exceptions.
2007-05-23 12:51:02 +02:00
Alexandre Julliard
55a57c2130
winedbg: Properly handle EOF on input.
2007-04-26 14:25:32 +02:00
Chris Robinson
449aacc125
winedbg: Align module addresses to 8 characters.
2007-04-09 12:18:55 +02:00
Eric Pouech
06b414086a
winedbg, winedump: Extended some info printed from system info directory in minidump about the CPU.
2007-04-02 12:07:12 +02:00
Eric Pouech
0fc4013f7c
winedbg: When reloading real PE modules from a minidump, also look in the search path (as we do for ELF modules).
2007-04-02 12:06:28 +02:00
Peter Oberndorfer
e879efcc74
winedbg: Do not write over const char * parameter.
...
Also pass the right string to SymEnumSymbols and check for _ in symbol
name, instead of beginning of string.
2007-03-08 11:58:17 +01:00
Eric Pouech
deaa366e4c
winedbg: Forward the wShowWindow option from winedbg to the debuggee.
2007-03-06 12:11:18 +01:00
Eric Pouech
e374bcffee
winedbg: We no longer need to force for ELF modules in minidumps as we do it automatically now.
2007-03-06 12:11:13 +01:00
Eric Pouech
cc3dd00c04
dbghelp: module target: Better error handling when init fails and creates a dummy thread.
2007-03-05 12:15:45 +01:00
Eric Pouech
90167f26d3
winedbg: When reloading a minidump, recreate all threads from the thread record (and not just the first one).
2007-03-05 12:14:58 +01: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
Eric Pouech
7694da86ab
winedbg: Some enhancements by using Unicode flavors.
2007-02-22 12:28:17 +01:00
Eric Pouech
b795f8735d
winedbg: Support for debugging child processes.
...
Added internal flag (AlsoDebugProcChild) to let winedbg debug both
parent and child (in the same WineDbg session).
2007-02-12 13:59:53 +01:00
Eric Pouech
6cf2734574
winedbg: Correctly handle invalid read conditions.
2007-02-12 13:59:14 +01:00
James Hawkins
8be71fef5b
winedbg: Check buffer for NULL before writing to it.
2007-01-11 12:04:51 +01: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
7035aa5041
make_makefiles: Generate the top-level .gitignore file.
...
Add a PROGRAMS variable in some makefiles to make things easier.
2006-12-27 21:23:36 +01:00
Alexandre Julliard
6744929428
winedbg: Win64 printf format fixes.
2006-12-20 14:57:08 +01:00
Alexandre Julliard
2bc33389e8
winedbg: Fixed a few data types.
2006-12-20 14:57:08 +01:00
Francois Gouget
367f91fb5c
Assorted spelling fixes.
2006-12-14 20:25:05 +01:00
Eric Pouech
32a8b2fa59
winedbg: Added support for constant values passed by dbghelp.
2006-12-06 11:38:53 +01:00
Eric Pouech
a274689b09
winedbg: Dwarf can emit REGREL symbol information, so handle it.
...
Factorize a bit more some symbol handling code.
2006-12-04 14:03:19 +01:00
Eric Pouech
932ad65c83
winedbg: Now that local variable computation depends on instruction
...
pointer value, be sure to have the relevant insn ptr value when
fetching the stack frames (spotted by Peter Oberndorfer).
2006-12-04 14:03:04 +01:00
Eric Pouech
d6d8682d71
winedbg: Added some black magic to still handle register values on non
...
current frame for some of the registers we know of (frame pointer,
stack pointer).
2006-12-04 14:02:02 +01:00
Eric Pouech
4c634078b3
winedbg: Remove some hassle from sgv_cb, and handle line number displacement where needed.
2006-12-04 14:01:38 +01:00
Eric Pouech
66cbe625d4
winedbg: No longer test filename in sgv_cb, but do it in the only place where we actually need it.
2006-12-04 14:01:02 +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
Eric Pouech
62f16d3cd4
winedbg: Various information printing issues.
...
- in backtraces, (void) functions should be listed with '()' as arguments instead of ''
- factorized code for diplaying information about a local/parameter
- fixed a couple of bugs here
- rewrote format specifiers for print commands (do no waste space for padding data)
- added support for new wine's dbghelp extension for local/parameter
variables being out of scope
2006-11-27 18:06:41 +01:00
Eric Pouech
ec087dac4f
winedbg: Added a few more cases where we inspect if i386 instructions
...
are actually calls (based on previous work by Jeff Latimer).
2006-10-23 12:27:00 +02:00
Peter Oberndorfer
9e30761951
winedbg: Print frame address instead of duplicated bare address in backtrace.
2006-10-18 12:35:20 +02:00