Conor McCarthy
f9e1a82764
winedbg: Use correct CALL operand size when fetching the delta.
...
Signed-off-by: Conor McCarthy <cmccarthy@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-22 18:02:09 +01: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
Alex Henrie
0566ba9a58
winedbg: Fix dependence on undefined left-shift behavior (scan-build).
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-12 22:47:45 +02: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
Alistair Leslie-Hughes
101820d01a
dbghelp: Use internal flag for loading native files.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-10 12:29:30 +02:00
Michael Stefaniuc
12e085d7e6
winedbg: Fix the spelling of a comment.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-04 23:06:08 +02:00
Alexandre Julliard
f2a7405a09
winecrt0: Make the main() and wmain() entry points cdecl.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-30 15:04:06 +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
Alexandre Julliard
d84de4ca00
makefiles: Support specifying installed files in the top-level makefile.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-27 14:48:04 +01:00
Alexandre Julliard
a4fbe12f97
winedbg: Remove some redundant length arguments.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-19 22:42:41 +01:00
Huw Davies
8908bdbb73
winedbg: Ignore ^C events in the parent 32-bit process.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-08 15:53:11 +02:00
Andrew Eikum
52fecef1a2
winedbg: In gdbproxy file, allow wine paths with spaces.
...
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-24 22:41:30 +02:00
Zebediah Figura
e525e49976
winedbg/gdbproxy: Silence some noisy debug messages.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-20 09:07:55 +02: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
Zebediah Figura
1dbab1cd0d
winedbg/gdbproxy: Simplify packet_verbose().
...
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
Zebediah Figura
00349e3f2a
winedbg/gdbproxy: Don't try to single-step a terminated process.
...
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
Zebediah Figura
6159431cd7
winedbg/gdbproxy: Use the WINEDEBUG interface for debugging winedbg.
...
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
André Hentschel
13f9461e99
winedbg: Check for visible window station before displaying crash dialog.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=35928
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-16 21:28:45 +02:00
Michael Stefaniuc
962b31c80b
include: Add a generic available ARRAY_SIZE().
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-04 10:39:15 +02:00
Zebediah Figura
14da5bfbd5
winedbg: Suppress all message boxes if ShowCrashDialog is disabled.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-21 11:18:39 +02:00
Zebediah Figura
dc1f45b3ae
winedbg: Provide a more helpful error message when unable to attach to a process.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-20 11:27:27 +02:00
Józef Kucia
ff84b2f202
winedbg: Get rid of ifdefs.
...
Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-19 20:52:30 +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
c1adb6ea1c
winedbg/gdbproxy: Handle VS thread renaming.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-15 12:56:48 +02:00
Alexandre Julliard
2fb792bd7c
winedbg: Fix some compiler warnings.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-14 11:05:14 +02:00
Zebediah Figura
8b3294a4dd
winedbg: Always start the interactive debugger in 64-bit mode if in a 64-bit prefix.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-14 09:29:14 +02:00
Zebediah Figura
1244759036
winedbg/gdbproxy: Store the register map inside the be_cpu struct.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-14 09:29:12 +02:00
Zebediah Figura
5caaba7e3e
winedbg: Implement debugging 32-bit processes on x86_64.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-14 09:29:07 +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
b459c88caa
winedbg/gdbproxy: Remove unnecessary checks for supported context flags.
...
And simplify the assignment to use CONTEXT_ALL instead. If we don't support
reading from a register then we just ignore its value.
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
Zebediah Figura
a602405efd
winedbg: Use gdb's default handling of breakpoints.
...
We're essentially doing the same thing, so there's no reason not to leave
the handling entirely to gdb.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-18 16:33:20 +02:00
Zebediah Figura
3849270aa7
winedbg: Add support for starting on a user-supplied port.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-03 10:36:33 +02:00
Martin Storsjo
e0780c258f
ntdll: Update the ARM64 CONTEXT struct to match Win SDK 10.0.16299.0.
...
Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-19 13:13:59 +01:00
Alexandre Julliard
d5f316bf0a
makefiles: Disable binary installation in the individual makefiles on Wow64.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-22 14:16:33 +01:00
Huw Davies
ca9f7cc5eb
winedbg: Add cvtdq2ps and cvtps2pd opcodes.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-19 16:57:52 +01:00
Huw Davies
e5b9057ba0
winedbg: Fix the operand order of some XMM instructions.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-19 16:57:52 +01:00
Zebediah Figura
67d7eb980e
winedbg: Remove a misplaced \n.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-12 11:09:44 +01:00
Henri Verbeet
fc3ea7d1ef
winedbg: Handle byte-sized registers in cpu_register() and cpu_register_hex_from().
...
Like for example the recently added floating-point TagWord on AMD64.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-07 19:38:30 +01:00
Vladimir Bespalov
57ccf8221f
winedbg: Fix enum value compilation warning.
...
Signed-off-by: Vlad Bespalov <vlad.botanic@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-07 19:38:29 +01:00
Alexandre Julliard
39b1384e78
winedbg: Remove support for vm86 exceptions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-02 14:42:38 +01:00
Nikolay Sivov
1afb6d3f99
winedbg: Use longer module names when printing module list.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-01 22:24:56 +01:00
Nikolay Sivov
840ebb9833
winedbg: Remove some unnecessary pointer casts.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-30 20:42:08 +01:00
Zebediah Figura
eb63a5f3c3
winedbg/gdbproxy: Replace memory read over a breakpoint with the real value.
...
Normally, when we hit a breakpoint, we remove it before stopping and add it
after continuing. gdb, however, reads the process memory before requesting
that the breakpoint be removed, and apparently caches it until the `stepi`
instruction is executed; as a result, it thinks that the interrupt byte that
is present in the code is an actual interrupt and not a breakpoint, and so
tries to step over it as one byte instead of executing the real instruction
at that location.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-19 12:12:02 +01:00
Zebediah Figura
d1e9694eda
winedbg/gdbproxy: Add support for floating-point registers on x86 and x86_64.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-19 12:12:02 +01:00
Alexandre Julliard
21c12ddc64
ntdll: Fix CONTEXT definition for ARM64.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-05 20:30:01 +01:00
Alexandre Julliard
eb337adcc2
ntdll: Fix CONTEXT definition for ARM.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-05 13:21:31 +01:00
Austin English
084e772db1
winedbg: Move WineHQ URLs to https.
...
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-01 10:18:52 +01:00
Zebediah Figura
ad79c1eed2
winedbg: Add support for printing SSE (XMM) registers.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-27 11:27:47 +02:00
Zebediah Figura
8314cdc45e
winedbg: Add support for printing floating point registers.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-27 10:32:19 +02:00
Daniel Lehman
068fc3f2fe
winedbg: Display movups in disassembly.
...
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-21 10:03:44 +02:00
Daniel Lehman
5e486f6de0
winedbg: Display movaps in disassembly.
...
0f 28 /r movaps xmm1, xmm2/m128
0f 29 /r movaps xmm2/m128, xmm1
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-20 10:39:40 +02:00
Huw Davies
eba6bf44b3
winedbg: Return after raising an exception.
...
Fixes a compiler warning.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-20 13:22:15 +01:00
Jacek Caban
de002161fe
winedbg: Removed no longer needed psapi import.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-03 13:25:28 +01:00
Gerald Pfeifer
cf48fbcf36
winedbg: Extend buffer in packet_query_monitor_process to avoid avoid overrun/truncation.
...
Signed-off-by: Gerald Pfeifer <gerald@pfeifer.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-03 11:51:32 +02:00
Thomas Faber
e91c06b068
dbghelp: Use documented member name in SYMBOL_INFO structure.
...
Signed-off-by: Thomas Faber <thomas.faber@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-22 12:20:58 +09:00
Marcus Meissner
0d06ebf5fb
manpages: Markup fixes.
...
Reported by Eric S. Raymond.
Signed-off-by: Marcus Meissner <marcus@jet.franken.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-03 01:38:23 +09:00
Daniel Lehman
26b37c40e7
winedbg: Handle the 4th parameter for 64-bit C++ exceptions.
...
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-26 19:54:17 +09: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
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
Hugh McMaster
11669fa5e2
Assorted spelling and grammar fixes.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-17 22:56:40 +09:00
Alexandre Julliard
17ac5ba7f9
makefiles: Specify whether to install program binaries in the individual makefiles.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-30 14:58:50 +09:00
André Hentschel
b952703a2e
winedbg: Update minidump output.
2015-08-29 14:28:59 +09:00
André Hentschel
3549810faa
winedbg: Remove dead variable (Clang).
2015-07-22 07:24:21 +02:00
Gerald Pfeifer
ced33792ff
winedbg: Avoid "uninitialized variable" compiler warning in types_extract_as_longlong.
2015-06-22 19:16:48 +09:00
André Hentschel
bd1f7ef186
include: Rename 64-bit PState to 32-bit Cpsr on ARM64.
2015-06-15 14:51:33 +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
André Hentschel
8e0164bd26
include: Add more ARM64 CV constants.
2015-05-28 14:20:55 +09:00
Marcus Meissner
92286a521f
winedbg: Close filehandle on one exit branch (Coverity).
2015-05-07 22:29:22 +09:00
Marcus Meissner
aa59e6744d
winedbg: Initialize type.module (Coverity).
2015-05-07 22:29:22 +09:00
Francois Gouget
c4f7918801
winedbg: Remove unneeded NONAMELESSXXX directives.
2015-04-03 00:33:29 +09:00
Frédéric Delanoy
f6a341c747
Assorted spelling/grammar fixes.
2015-03-27 22:29:48 +09:00
Francois Gouget
f505e6fb4a
Assorted spelling fixes.
2015-03-19 21:54:14 +09:00
André Hentschel
657933e135
winedbg: Remove unused code (Clang).
2014-12-04 14:03:18 +01:00
André Hentschel
9988e2d685
winedbg: Declare debug channel only when needed in be_x86_64 (Clang).
2014-11-25 19:49:37 +01:00
André Hentschel
51a4594f96
winedbg: Declare debug channel only when needed (Clang).
2014-11-20 22:32:00 +09:00
André Hentschel
613d1715a4
winedbg: Respect TMPDIR environment variable.
2014-09-17 10:18:56 +02:00
Gerald Pfeifer
ab8e9d23a0
winedbg: Avoid a compiler warning about "use of uninitialized" in in types_extract_as_longlong.
2014-08-25 22:01:29 +02:00
Gerald Pfeifer
c24bd74486
winedbg: Add explicit return in the error case of print_typed_basic.
2014-08-11 23:55:22 +02:00
Nicolas Le Cam
81a904e729
winedbg: Remove unused variable.
2014-06-11 16:14:19 +02:00
Frédéric Delanoy
0f2bed51bd
Assorted spelling fixes.
2014-02-10 15:47:29 +01:00
Alexandre Julliard
cf0e96c6d0
configure: Rename substituted variables to a standard _CFLAGS and _LIBS format.
2014-01-30 14:51:33 +01:00
Alexandre Julliard
86b1f94d28
makefiles: Get rid of the MAKE_PROG_RULES variable.
2014-01-02 12:12:57 +01:00
Frédéric Delanoy
5730f6cf98
winedbg: Constify some character strings.
2013-12-20 10:51:03 +01:00
Alexandre Julliard
4f3d71cef3
makefiles: Get rid of the no longer used PO_SRCS variables.
2013-12-15 10:23:04 +01:00
André Hentschel
5ac1ecfbe5
winedbg: Improve formatting of context printing.
2013-12-10 12:20:30 +01:00
Marcus Meissner
f5b2988bb0
winedbg: Added missing breaks (Coverity).
2013-12-09 11:43:14 +01:00
André Hentschel
74046af7eb
winedbg: Update minidump output.
2013-11-26 10:17:01 +01:00
Frédéric Delanoy
57d7f74d34
Assorted spelling fixes.
2013-11-21 19:44:46 +01:00
Alexandre Julliard
e2df0ab856
makefiles: Generate rules from makedep for building and installing man pages.
2013-11-18 11:40:00 +01:00
Frédéric Delanoy
f23cb66db6
winedbg: Use BOOL type where appropriate.
2013-11-14 10:36:30 +01:00
Frédéric Delanoy
baf4757c46
winedbg: Amend parameter name in *_fetch_integer.
2013-11-14 10:36:27 +01:00
Frédéric Delanoy
fe580c083d
winedbg: Use BOOL type where appropriate.
2013-11-11 13:27:28 +01:00
Alexandre Julliard
5756ee09f3
makefiles: Add makedep pragmas for rc files that contain translations.
2013-11-05 20:38:19 +01:00
Frédéric Delanoy
9e5367dbe3
winedbg: Use BOOL type where appropriate.
2013-10-14 10:44:41 +02:00
Frédéric Delanoy
77462fc68d
winedbg: Fix winedbg --help message formatting.
2013-09-02 19:27:01 +02:00
Frédéric Delanoy
903562e104
winedbg: Use consistently wpid in documentation.
2013-09-02 19:26:59 +02:00