Commit graph

76 commits

Author SHA1 Message Date
Brendan Shanks
c181526303 winedbg: Use RtlGetVersion to fix displayed Windows version on Win8.1 or 10 prefix.
Signed-off-by: Brendan Shanks <bshanks@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-16 22:10:04 +02:00
Damjan Jovanovic
8c52c17a08 winedbg: Allow changing the current thread.
Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-18 22:14:53 +01:00
Jacek Caban
1bb98982d6 winedbg: Set auto attach event after processing the first exception.
On Windows, the process is broken into by ordering an actual debug
break execution in a new thread. We need to process this event before
continuing exception handling in debuggee to avoid race.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 20:43:19 +02:00
Jacek Caban
136a0ac49b winedbg: Move continue_on_first_exception handling out of dbg_attach_debuggee.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 20:43:19 +02:00
Alexandre Julliard
2a64e751e3 winedbg: Fix incorrect pointer casts.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-14 18:24:46 +01:00
Zebediah Figura
05e54ac6e6 winedbg: Ignore EXCEPTION_INVALID_HANDLE.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-16 11:07:37 +02:00
Michael Stefaniuc
0c8e555e4c winedbg: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-19 20:48:52 +02:00
Zebediah Figura
cf349cea69 winedbg: Add a backend-specific vector for setting a thread's context.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-13 22:13:27 +02:00
Zebediah Figura
2326179312 winedbg: Add a backend-specific vector for retrieving a thread's context.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-13 22:13:27 +02:00
Zebediah Figura
45e0654591 winedbg: Use WOW64_CONTEXT instead of CONTEXT for i386 backend.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-13 22:13:27 +02:00
Zebediah Figura
42bbeedbe4 winedbg: Make be_cpu process-specific.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-13 22:13:27 +02:00
Michael Müller
a78efe16f7 winedbg: Print windows version in system info.
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-03 16:21:15 +09:00
Sebastian Lackner
7661549755 winedbg: Also output system information to the terminal, not only to dialog. 2015-06-08 17:38:58 +09:00
Frédéric Delanoy
5730f6cf98 winedbg: Constify some character strings. 2013-12-20 10:51:03 +01:00
Frédéric Delanoy
57d7f74d34 Assorted spelling fixes. 2013-11-21 19:44:46 +01:00
Frédéric Delanoy
fe580c083d winedbg: Use BOOL type where appropriate. 2013-11-11 13:27:28 +01:00
Bernhard Übelacker
b62b740de2 winedbg: Call DebugActiveProcessStop when detaching. 2013-06-17 13:34:40 +02:00
André Hentschel
40e7f7b787 winedbg: Remove SPARC support. 2013-03-11 10:49:14 +01:00
André Hentschel
d62d7474d4 winedbg: Add ARM64 support. 2013-01-16 12:53:42 +01:00
André Hentschel
8392a85084 winedbg: Buffer size includes the quotes (coverity). 2012-10-22 19:45:10 +02:00
Alexandre Julliard
9b7ca3cf87 winedbg: Display the crash details dialog from a separate thread so that it appears right away. 2012-01-18 12:55:24 +01:00
Alexandre Julliard
2533c1287e winedbg: Append some system information to the crash log. 2012-01-17 19:11:07 +01:00
Alexandre Julliard
dcd5643f74 winedbg: Add a dialog to display crash details and save them to a file. 2012-01-17 17:47:48 +01:00
Alexandre Julliard
dea7ced7f1 winedbg: Split minidump option handling to a separate function. 2012-01-17 16:27:06 +01:00
Alexandre Julliard
fbd08d5914 winedbg: Kill the whole target process on exit in auto mode. 2012-01-16 14:05:27 +01:00
Eric Pouech
78cf0961e9 winedbg: Moved into a common function all code dealing with printing information about an exception, and use this function to implement new 'info exception' command. 2010-11-23 14:16:22 +01:00
André Hentschel
ab873c0d25 winedbg: Only add ContextFlags which are defined. 2010-09-14 12:52:36 -05:00
Jerome Leclanche
fffa4881f6 winedbg: Escape args in a WINE_FIXME. 2010-09-03 11:06:12 +02:00
Andrew Eikum
d3f80c1e9f winedbg: Allow user to specify length of stack info output. 2010-05-25 12:14:00 +02:00
Eric Pouech
3833600c79 winedbg: Correctly display whether we're in 32 vs 64 bit code. 2010-04-20 11:15:18 +02:00
Eric Pouech
e4c29f9087 winedbg: Use standard Wine lists for threads. 2010-04-13 11:43:09 +02:00
Eric Pouech
d29c6ead92 winedbg: Store the CONTEXT in each stack frame to enable register access in the non topmost frames. 2010-03-31 11:36:23 +02:00
Mikhail Maroukhine
93d9d8a3af programs: Fix compiler warnings with flag -Wcast-qual. 2010-03-29 12:18:48 +02:00
Eric Pouech
4ce6c90c36 winedbg: Fix some types for homogenous support on 64bit platform. 2009-12-15 11:55:17 +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
Eric Pouech
7daa50c041 winedbg: Ensure all addresses passed to break functions are 64bit wide. 2009-12-14 12:29:35 +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
Alexandre Julliard
8d0cb61bc7 winedbg: Add wrappers for Read/WriteProcessMemory to fix the mingw build. 2009-06-05 15:19:58 +02:00
Rico Schüller
654c7e3668 winedbg: Do not print more than 9 characters from pThread->name. 2009-05-20 10:51:00 +02:00
Mikołaj Zalewski
1e256e426d winedbg: Add a crash dialog for --auto mode. 2009-04-22 17:00:34 +02:00
Alexandre Julliard
4441065182 winedbg: Fix pointer cast warnings on 64-bit. 2009-01-09 14:06:12 +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
Eric Pouech
6986975816 winedbg: Search default debuggee dir for symbol information. 2008-09-04 13:47:48 +02:00
Michael Stefaniuc
7057d7a914 winedbg: Fix "floating pointer" typo. 2008-06-24 11:51:20 +02: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
Alexandre Julliard
c77bc840de winedbg: Print a backtrace in --auto mode. 2007-11-13 21:35:30 +01: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