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
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
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
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
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
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
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
André Hentschel
3549810faa
winedbg: Remove dead variable (Clang).
2015-07-22 07:24:21 +02:00
André Hentschel
bd1f7ef186
include: Rename 64-bit PState to 32-bit Cpsr on ARM64.
2015-06-15 14:51:33 +09:00
André Hentschel
8e0164bd26
include: Add more ARM64 CV constants.
2015-05-28 14:20:55 +09:00
André Hentschel
613d1715a4
winedbg: Respect TMPDIR environment variable.
2014-09-17 10:18:56 +02:00
Frédéric Delanoy
57d7f74d34
Assorted spelling fixes.
2013-11-21 19:44:46 +01:00
Akihiro Sagawa
f649ee5997
winedbg: Add x87 register support in gdb proxy.
2013-05-08 14:30:51 +02:00
Akihiro Sagawa
e06fd8d003
winedbg: Improve the register conversion to support over 64-bit registers.
2013-05-08 14:30:45 +02:00
Akihiro Sagawa
b2de0880ec
winedbg: Verify context flags before reading or writing registers.
2013-05-08 14:30:11 +02:00
André Hentschel
40e7f7b787
winedbg: Remove SPARC support.
2013-03-11 10:49:14 +01:00
Alexandre Julliard
51947acd5a
winedbg: Use socklen_t where appropriate.
2013-03-06 14:09:53 +01:00
André Hentschel
2d449b76e1
winedbg: Add support for XML Target Descriptions to read Cpsr on ARM.
2013-02-26 11:27:27 +01:00
André Hentschel
dd8ec9994b
winedbg: Add PState to cpu_register_map for ARM64.
2013-02-13 10:19:32 +01:00
André Hentschel
d62d7474d4
winedbg: Add ARM64 support.
2013-01-16 12:53:42 +01:00
André Hentschel
addd324dba
winedbg: Cleanup if gdb startup fails (coverity).
2012-10-26 11:49:06 +02:00
André Hentschel
72836c0b7e
winedbg: Fix check for register number (coverity).
2012-10-23 12:25:22 +02:00
Michael Stefaniuc
442b34415a
winedbg: Simplify the "pointer to start of array" idiom.
2012-07-27 17:05:30 +02:00
Eric Pouech
e9eab7bbfc
winedbg: In the gdb remote protocol implementation, correctly manage the size of registers on the wire (esp. for 64bit ones).
2012-05-23 17:40:57 +02:00
Eric Pouech
8308c35ec5
winedbg: In the gdb remote protocol implementation, correctly manage the size of registers on the wire (esp. for 64bit ones).
2012-05-21 11:34:17 +02:00
Francois Gouget
fac36c55e9
Assorted typo, spelling, wording and case fixes.
2012-05-15 16:26:43 +02:00
Eric Pouech
b4cea6e402
winedbg: Added support for qAttached query packet.
2012-01-04 18:58:44 +01:00
Eric Pouech
a971d8657c
winedbg: Don't assert() on unsupported v-packets, but rather report an error.
2011-10-05 17:09:40 -05:00
André Hentschel
18aaad2063
winedbg: Remove Alpha support.
2011-04-20 13:11:18 +02:00
André Hentschel
be729282ce
winedbg: Add more ARM registers to the map.
2011-04-18 12:30:14 +02:00
André Hentschel
09e6a41435
winedbg: Add ARM support.
2010-09-20 12:59:14 +02:00
Paul Bolle
f942cb33ab
winedbg: gdbproxy: Quietly handle qSupported and qTStatus.
2010-08-31 14:23:49 +02:00
Paul Bolle
da16ade1d0
winedbg: gdb proxy mode: hide printf unless traced.
2010-08-30 17:56:16 +02:00
Paul Bolle
2855fac645
winedbg: gdb proxy mode: allow interrupt from command line.
...
Ignore SIGINT (in gdb_startup) so an interrupt from the command line
will break the debuggee and bring up the gdb prompt (instead of killing
both winedbg and the debuggee).
2010-08-30 17:56:08 +02:00