Commit Graph

52 Commits

Author SHA1 Message Date
Rémi Bernon fd6ea955d4 winedbg: Remove the use of gdb specific register length.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-03 17:22:19 +02:00
Rémi Bernon 771463adbd winedbg: Add gdb register types to the register maps.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-03 17:22:08 +02:00
Rémi Bernon a650b3d80a winedbg: Add gdb register names to the register maps.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-03 17:21:51 +02:00
Rémi Bernon 6bfaa76caa winedbg: Add gdb feature names to the register maps.
In order not to repeat the features, registers are expected to be
ordered and grouped by feature. If feature name is set only on the
first register of a new feature.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-03 17:21:28 +02:00
Conor McCarthy 26df43d8ca winedbg: Add support for x86_64 indirect function call targets.
Signed-off-by: Conor McCarthy <cmccarthy@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-22 18:02:12 +01:00
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
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
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
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 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
Francois Gouget c4f7918801 winedbg: Remove unneeded NONAMELESSXXX directives. 2015-04-03 00:33:29 +09:00
André Hentschel 9988e2d685 winedbg: Declare debug channel only when needed in be_x86_64 (Clang). 2014-11-25 19:49:37 +01:00
Nicolas Le Cam 81a904e729 winedbg: Remove unused variable. 2014-06-11 16:14:19 +02: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 e2761ab075 winedbg: Use an if instead of a switch in case some float types have the same size. 2013-01-08 16:35:30 +01:00
Alexandre Julliard d17bc39b1f winedbg: Fix some pointer conversion warnings. 2012-05-29 19:14:39 +02:00
Eric Pouech 721a3c910a winedbg: Fix printing of fp registers for x86_64 CPU. 2012-05-09 11:42:09 +02:00
Eric Pouech 88949b2c59 winedbg: Fix set instruction when sizeof(int) <> sizeof register. 2012-04-05 14:51:33 +02:00
Eric Pouech c047d6ddbd winedbg: In x86_64 backend, now recognize 'rep ret' as a valid function return instruction. 2012-01-03 12:37:28 +01:00
Alexandre Julliard 22cd7e0e5e winedbg: Add dumping of floating point registers for x86_64. 2011-01-28 11:41:10 +01:00
Eric Pouech ae9f86042e winedbg: Added CPU method for identifying a jmp insn, and implement it for i386. 2011-01-10 13:03:38 +01:00
Eric Pouech 0d7a6f13a8 winedbg: Describe pointer size in CPU backend structure. 2010-04-13 11:42:18 +02:00
Eric Pouech 5f23b94a27 winedbg: Allow using 8-byte long hardware assisted breakpoints on x86_64 CPUs. 2010-04-07 13:50:57 +02:00
Eric Pouech ea21a32707 winedbg: Store for context variables only the offsets of each register (instead of the address of the register in dbg_context). 2010-03-29 11:40:00 +02:00
Eric Pouech b50e571947 winedbg: Implement is_func_call on x86_64 CPU. 2010-02-04 13:39:27 +01:00
Eric Pouech 4f4e38ce40 winedbg: Implemented is_step_over method for x86-64 CPU. 2010-02-04 13:39:27 +01:00
Eric Pouech 9ed8d56ed2 winedbg: Implemented is_break_insn for x86-64 CPUs. 2010-02-04 13:39:27 +01:00
Eric Pouech 6979ea7d5b winedbg: Implemented is_function_return method for x86-64 CPU. 2010-02-04 13:39:27 +01:00
Eric Pouech 7d3a9c6ffd winedbg: Implement float fetching for x86-64 debugger. 2010-02-04 13:39:27 +01:00
Eric Pouech 7f1105e656 winedbg: Add disassembly capacity to x86-64 backend. 2010-02-04 13:39:27 +01:00
Eric Pouech e1b677dcd1 winedbg: For x86-64 CPU, fix $rip variable definition. 2010-02-04 13:39:27 +01:00
Eric Pouech a775d41c10 winedbg: Push the correct machine type to StackWalk. 2009-12-22 15:38:01 +01:00
Eric Pouech 4195c2f3bb winedbg: Implement breakpoint management for x86_64 targets. 2009-12-15 11:58:15 +01:00
Eric Pouech 91c7ff2994 winedbg: For the x86_64 backend, fetch all the integral types. 2009-12-14 12:30:42 +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 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
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
Alexandre Julliard 01b7667a1a programs: Convert source files to utf-8. 2008-10-18 19:22:19 +02:00
Dmitry Timoshkov e0510e42fe winedbg: Fix a problem revealed by compilation in 64-bit mode. 2007-05-24 11:36:36 +02: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
Ge van Geldorp 1d04f826c7 winedbg: Change ADDRESS variables to ADDRESS64 so we can handle 64-bit addresses. 2006-07-26 15:21:42 +02:00
Ge van Geldorp ac857cb31a winedbg: Implement some x86_64 backend routines. 2006-07-11 12:40:11 +02:00