Commit Graph

779 Commits

Author SHA1 Message Date
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
Frédéric Delanoy 7a12ebca0e winedbg: Fix manpage formatting. 2013-09-02 19:26:56 +02:00
Michael Stefaniuc 4cf489f9ce winedbg: Fix the return type of read_input(); it is never negative. 2013-08-20 11:50:06 +02:00
Alexandre Julliard dcc97a186d Standardize the BUGS, AVAILABILITY and SEE ALSO sections across all man pages. 2013-07-16 20:48:05 +02:00
Frédéric Delanoy be6d9e553c winedbg: Fix manpage formatting. 2013-07-16 20:47:18 +02:00
Bernhard Übelacker b62b740de2 winedbg: Call DebugActiveProcessStop when detaching. 2013-06-17 13:34:40 +02: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 371bbf8db4 winedbg: There is no hardware single stepping support on ARM. 2013-02-25 10:40:39 +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
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
Marcus Meissner 45eeeb00f3 winedbg: Free snapshot handle in error path (Coverity). 2013-01-07 11:14:09 +01:00
André Hentschel 3a29e87673 winedbg: Use a switch-case style implementation in thumb2_disasm_dataprocessing. 2013-01-07 11:12:54 +01:00
André Hentschel 2b9555fba8 winedbg: Add shifted register dataprocessing operators to Thumb2 disassembler. 2013-01-07 11:12:41 +01:00
André Hentschel 0004788e96 winedbg: Add modified immediate dataprocessing operators to Thumb2 disassembler. 2013-01-02 18:15:03 +01:00
André Hentschel 87fbe4ca10 winedbg: Add plain binary dataprocessing operators to Thumb2 disassembler. 2013-01-02 18:14:59 +01:00
Eric Pouech 00b6d8ebb1 winedbg: In 'info proc' command, list hierarchy of processus, and get rid of printing parent pid. 2013-01-02 13:10:44 +01:00
Austin English bc4e1efce3 winedbg: stack_backtrace should not return a value. 2012-12-20 12:01:15 +01:00
André Hentschel 785bdb6412 winedbg: Add load/store dual/exclusive and table branch operators to Thumb2 disassembler. 2012-12-10 17:36:29 +01:00
André Hentschel 8818e25954 winedbg: Add load/str multiple operators to Thumb2 disassembler. 2012-12-07 10:35:59 +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
André Hentschel 8392a85084 winedbg: Buffer size includes the quotes (coverity). 2012-10-22 19:45:10 +02:00
Alexandre Julliard 8bf223a86d winedbg: Mark the lexer as always interactive to prevent some shortcuts. 2012-10-08 12:55:10 +02:00
André Hentschel 096426f1f1 winedbg: Adjust copyright to avoid confusions. 2012-10-08 12:54:57 +02:00
André Hentschel 86d0c87552 winedbg: Simplify Coprocessor operators in the Thumb2 disassembler. 2012-10-08 12:54:57 +02:00
André Hentschel a0ae8b4bd2 winedbg: Add load non-word operators to Thumb2 disassembler. 2012-10-08 12:54:56 +02:00
André Hentschel 13da3a92fd winedbg: Add preload operators for Thumb2 disassembler. 2012-10-08 12:54:56 +02:00
André Hentschel 523ca37f11 winedbg: Reorder disassembler functions to match instruction table order. 2012-10-04 10:38:19 +02:00
André Hentschel 0ef9072e0f winedbg: Add Coprocessor data transfer operators for Thumb2 disassembler. 2012-10-04 10:38:11 +02:00
André Hentschel 24abf1f68b winedbg: Add enhanced Coprocessor move operators to Thumb2 disassembler. 2012-10-04 10:38:06 +02:00
André Hentschel 129080774d winedbg: Add Coprocessor data operators for Thumb2 disassembler. 2012-10-04 10:37:58 +02:00
André Hentschel 4deaee9927 winedbg: Add control operators to Thumb2 disassembler. 2012-10-03 11:19:45 +02:00
André Hentschel 613ebcd070 winedbg: Add hint operators to Thumb2 disassembler. 2012-10-03 11:19:44 +02:00
André Hentschel 60af8659c9 winedbg: Add special register processing operators to Thumb2 disassembler. 2012-10-03 11:19:43 +02:00
André Hentschel 1e1e181b2e winedbg: Improve and add branch operators for Thumb2 disassembler. 2012-10-03 11:19:43 +02:00
Alexandre Julliard 2763a983fe Mark all lexers as never-interactive. 2012-10-01 12:19:25 +02:00
André Hentschel 7e132ac1a6 winedbg: Add register data processing operators to Thumb2 disassembler. 2012-08-27 11:32:13 +02:00
André Hentschel c5fbebd3a6 winedbg: Add store operators to Thumb2 disassembler. 2012-08-27 11:32:09 +02:00
André Hentschel 054d930bb7 winedbg: Add load word operators to Thumb2 disassembler. 2012-08-24 10:25:41 +02:00
André Hentschel 538a0abbd7 include: Rename IMAGE_FILE_MACHINE_ARMV7 to IMAGE_FILE_MACHINE_ARMNT. 2012-08-17 10:45:17 +02:00
Dmitry Timoshkov 6407cd8e0c winedbg: Make the crash dialog slightly larger and minimize/maximize-able. 2012-08-15 17:51:07 +02:00
Michael Stefaniuc 915e12e59f winedbg: Avoid TRUE:FALSE conditional expressions. 2012-08-13 17:30:01 +02:00
André Hentschel ca3afdc156 winedbg: Add Coprocessor move operators to Thumb2 disassembler. 2012-08-13 12:11:22 +02:00
Michael Stefaniuc 442b34415a winedbg: Simplify the "pointer to start of array" idiom. 2012-07-27 17:05:30 +02:00
André Hentschel 338f5e9cb6 winedbg: Add new operators regarding data processing to ARM disassembler. 2012-07-09 10:12:27 -04:00
André Hentschel b96d613337 winedbg: Add swap operator to ARM disassembler. 2012-07-09 10:12:20 -04:00
André Hentschel 498614dda6 winedbg: Add multiplication operators to ARM disassembler. 2012-07-09 10:12:14 -04:00
André Hentschel bc86f0d5dd winedbg: Add branch and exchange operator to ARM disassembler. 2012-07-09 10:12:04 -04:00
Eric Pouech 244099689c winedbg: In 'info locals' command, show the full register/stack layout for parameters & locals. 2012-06-25 10:33:05 +02:00
André Hentschel 44411a3c7a winedbg: Add long multiplication and division operators to Thumb2 disassembler. 2012-06-11 11:27:58 +02:00
André Hentschel 82dbeed2cc winedbg: Add multiplication operators to Thumb2 disassembler. 2012-06-11 11:27:54 +02:00
Alexandre Julliard d17bc39b1f winedbg: Fix some pointer conversion warnings. 2012-05-29 19:14:39 +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
André Hentschel 97d86f77ec winedbg: Add partial Thumb2 disassembler. 2012-05-16 18:30:18 +02:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Eric Pouech 18986ee013 winedbg: Also recognize 'rep ret' as a valid return insn for i386 as we did for x86_64. 2012-05-14 12:04:24 +02:00
Eric Pouech 721a3c910a winedbg: Fix printing of fp registers for x86_64 CPU. 2012-05-09 11:42:09 +02:00
André Hentschel f86ea4cbe9 winedbg: Complete the Thumb disassembler. 2012-05-02 11:58:51 +02:00
André Hentschel 6795bab565 winedbg: Print all available information about branch targets in ARM disassembler. 2012-04-23 11:41:58 +02:00
André Hentschel 474791fd89 winedbg: Add "load address" and new nops to the Thumb disassembler. 2012-04-20 11:58:43 +02:00
André Hentschel 11384aa5ad winedbg: Disassemble more Thumb instructions. 2012-04-19 12:03:25 +02:00
André Hentschel 6235e6fd44 winedbg: Add shift operators to ARM disassembler. 2012-04-18 13:59:58 +02:00
André Hentschel ad1d7450d9 winedbg: Fix parsing table for ARM disassembler. 2012-04-17 11:48:11 +02:00
André Hentschel 51df30b25c winedbg: Use better register names for ARM disassembling. 2012-04-16 17:49:32 +02:00
André Hentschel abc304f309 winedbg: Solve ARM disassembling fixmes. 2012-04-16 17:49:31 +02:00
André Hentschel 6a2f3e6cff winedbg: Add long branch to Thumb disassembling. 2012-04-16 17:49:31 +02:00
André Hentschel e94b8302e3 winedbg: Add partial Thumb disassembler. 2012-04-13 16:15:42 +02:00
André Hentschel 0fccc41c3f winedbg: Add partial ARM disassembler. 2012-04-12 20:35:39 +02:00
André Hentschel 5a1276bf39 winedbg: Implement be_arm_store_integer on ARM. 2012-04-06 20:16:38 +02:00
Eric Pouech 88949b2c59 winedbg: Fix set instruction when sizeof(int) <> sizeof register. 2012-04-05 14:51:33 +02:00
André Hentschel db8d76034d winedbg: Fix a typo. 2012-03-27 17:58:21 +02:00
André Hentschel 2c5a7743be winedbg: Respect Thumb mode when adjusting PC on ARM. 2012-03-12 10:12:36 +01:00
André Hentschel a948c20151 winedbg: Use copy of be_i386_fetch_float for be_arm_fetch_float (except of long double). 2012-03-09 11:34:23 +01:00
Francois Gouget 4f2d3e9b48 winedbg: The winedbg debug channel is unused in crashdlg.c so remove it. 2012-02-20 11:47:57 +01:00
Eric Pouech 45aa67b30a winedbg: Let the lexer accept char definitions as integral values. 2012-02-11 15:00:42 +01:00
Eric Pouech 1bd693b139 winedbg: Enhance algorithm to look up for memory data inside a minidump. 2012-01-24 18:10:32 +01:00
Eric Pouech 2ce0e94018 winedbg, winedump: Embed wine build-id information info minidump, and display it. 2012-01-24 18:10:32 +01:00
Alexandre Julliard c9eee73450 makefiles: Define __WINESRC__ when building programs. 2012-01-23 16:07:37 +01:00
Alexandre Julliard da35622b83 makefiles: Disable use of Unicode macros globally for all the programs. 2012-01-20 13:14:16 +01:00
Alexandre Julliard aef2eeea6c winedbg: Use the standard dialog font for the crash dialogs. 2012-01-20 11:58:45 +01:00
Marcus Meissner 11705f569c winedbg: LoadStringw gets character size, not bytes. 2012-01-19 11:57:32 +01:00
André Hentschel c8dd507b62 winedbg: Also adjust the detailed crash dialog controls when maximized. 2012-01-19 11:57:22 +01: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
André Hentschel 5e9b57d5b6 winedbg: Adjust button size to fit more translations. 2012-01-18 12:37:39 +01:00
André Hentschel 2c568309e3 winedbg: Remove superfluous break instruction. 2012-01-18 12:37:39 +01:00
Alexandre Julliard 2533c1287e winedbg: Append some system information to the crash log. 2012-01-17 19:11:07 +01:00
Alexandre Julliard a70ac0e971 winedbg: Make the crash details dialog resizable. 2012-01-17 17:47:51 +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