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
Austin English
06c9afbb55
winedbg: Initial Sparc support.
2010-08-26 12:43:39 +02:00
Eric Pouech
e4c29f9087
winedbg: Use standard Wine lists for threads.
2010-04-13 11:43:09 +02:00
André Hentschel
76c518539f
winedbg: Update link.
2010-01-06 09:52:44 +01:00
Eric Pouech
ab2e0bdef6
winedbg: Added a couple of tweaks to properly support 32bit vs 64bit wide addresses.
2009-12-14 12:30:33 +01:00
Eric Pouech
97d44dd399
dbghelp: Force 64bit module enumeration on all platforms.
2009-12-14 12:29:43 +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
a116f78ded
winedbg: In proxy mode, correctly init the wine_segs fields.
2009-11-09 20:02:20 +01:00
Alexandre Julliard
8d0cb61bc7
winedbg: Add wrappers for Read/WriteProcessMemory to fix the mingw build.
2009-06-05 15:19:58 +02:00
Francois Gouget
84cd15a021
winedbg: Replace realloc() with HeapReAlloc().
2009-05-15 10:31:12 +02: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