Commit graph

936 commits

Author SHA1 Message Date
Rémi Bernon 1ccd2c2be1 winedbg: Simplify and fix register read/write handlers.
This was using some conditional context read and dbg_curr_thread checks,
we can just read the context of the selected thread and write it back as
needed.

Also, packet_reply_register_hex_to was using gdbctx->context, which is
not always the context we want to read.

We still need to keep changes in sync with gdbctx->context as it may be
still be used for step / continue, but step / continue doesn't work well
and we will rewrite it later.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-01 22:13:07 +02:00
Rémi Bernon 443d000730 winedbg: Remove outdated commented code.
This doesn't compile anymore, let's get rid of it instead or pretending
it can still be useful.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-01 22:13:07 +02:00
Rémi Bernon eba6b38ba3 winedbg: Cleanup return for kill and status packets.
There's a special packet_last_f flag to indicate we should quit, use
that on kill packet instead of exiting abruptly.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-31 17:28:46 +02:00
Rémi Bernon 6deb5895d9 winedbg: Explicitly handle MustReplyEmpty packet.
We now always print a warning when packet_error is returned.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-31 17:28:41 +02:00
Rémi Bernon 83284dbad4 winedbg: Support QStartNoAckMode to reduce verbosity.
We don't have to validate and acknowledge the packets as long as this
mode is enabled, this will reduce verbosity especially when tracing.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-31 17:28:38 +02:00
Rémi Bernon ec76cb754e winedbg: Cleanup extract_packets for faster acking.
Sometimes multiple packets are received and we were assuming it was
some repeated requests due to slow ack. We can ack packets first.

It was also dropping some perfectly valid packets and we should process
them all. For instance, lldb frontend sometimes send multiple packets
at a the same time and expects them to be handled.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-31 17:28:34 +02:00
Rémi Bernon 21c3f183e0 winedbg: Force packet data to be NUL terminated.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-31 17:28:32 +02:00
Rémi Bernon 46ec0b956d winedbg: Force read data to be NUL terminated.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-31 17:28:30 +02:00
Francois Gouget 4dfa8a834d winedbg: Fix the spelling of various messages and the README.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-10 20:59:19 +01:00
Francois Gouget 9fbfa988f2 winedbg: Avoid unneeded strlen() calls.
Note that target_xml is an array and thus cannot be NULL.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-09 23:47:46 +01: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
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
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
Eric Pouech b4cea6e402 winedbg: Added support for qAttached query packet. 2012-01-04 18:58:44 +01:00
Eric Pouech 1ecef8242d dbghelp: When StackWalk fails to get any frame information, create a default one. 2012-01-04 18:58:39 +01: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 96e13da900 winedbg: Use proper links in the crash dialog. 2011-11-28 16:40:46 +01:00
Alexandre Julliard 3fcca200a8 winedbg: Convert dialogs to po files. 2011-11-18 12:17:51 +01:00
André Hentschel 72270006da winedbg: Use ARMv7 for debugging. 2011-11-02 12:25:36 +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
Frédéric Delanoy a2e8d61453 winedbg: Remove dead assignment (Clang). 2011-08-05 09:17:31 +02:00
André Hentschel 3ea13c9c49 winedbg: Increase buffer for function names. 2011-06-01 16:07:32 +02:00
Gerald Pfeifer 87c0e868be winedbg: Disable some dead code in expr_eval. 2011-05-26 17:40:41 +02:00
Akihiro Sagawa 884ccf9b3c winedbg: Add Japanese resource. 2011-05-26 13:33:38 +02:00
Andrew Nguyen 218d970bdd winedbg: Eliminate a possible memory leak in input_fetch_entire_line. 2011-05-18 16:55:56 +02:00
Andrew Nguyen 9981938486 winedbg: Convert the CRLF newline to LF newline when reading interactive input. 2011-05-18 16:54:55 +02:00
Marcus Meissner 16d13f24a0 winedump: Fixed minidump processor revision decoding (Coverity). 2011-05-12 15:42:57 +02:00
André Hentschel 71fe9c95a4 winedbg: Update a comment. 2011-05-09 20:02:24 +02:00
André Hentschel a2d10bc2e5 winedbg: Implement printing the Program Status Register. 2011-05-03 14:38:06 +02:00
André Hentschel 423a447fbe winedbg: Fix a typo. 2011-05-03 14:38:06 +02:00
André Hentschel ac3ed42601 winedbg: Copy the x86 implementation of fetch_integer for ARM. 2011-04-27 11:52:43 +02:00
André Hentschel b7ea0cb084 winedbg: Fill the dbg_internal_var array for ARM. 2011-04-27 11:52:29 +02:00
André Hentschel 894f892b93 winedbg: Fix PC adjustment for ARM. 2011-04-20 16:31:11 +02:00
André Hentschel 18aaad2063 winedbg: Remove Alpha support. 2011-04-20 13:11:18 +02:00
André Hentschel 12a4706fde winedbg: Be more verbose about what's not done. 2011-04-18 12:37:14 +02:00
André Hentschel c9f76576ab winedbg: Implement be_arm_get_register_info. 2011-04-18 12:36:51 +02:00
André Hentschel becb336dc7 winedbg: Implement be_arm_print_context. 2011-04-18 12:31:18 +02:00
André Hentschel be729282ce winedbg: Add more ARM registers to the map. 2011-04-18 12:30:14 +02:00
André Hentschel 3c699c0958 winedbg: Add ARM string for minidump. 2011-04-18 12:30:13 +02:00
André Hentschel 59ca0059b6 winedbg: Implement adjust_pc_for_break on Sparc. 2011-04-14 17:13:58 +02:00
André Hentschel 6c710ae1ed winedbg: Implement get_addr on sparc. 2011-04-11 12:05:59 +02:00
Francois Gouget f54b168855 winedbg: stack_get_register_current_frame() is not used anymore so remove it. 2011-03-30 18:23:40 +02:00
Francois Gouget f8624006a7 winedbg: memory_get_current_frame() is not used anymore so remove it. 2011-03-30 18:23:40 +02:00
Marcus Meissner d15a04bdce winedbg: Add missing break (Coverity). 2011-03-28 17:10:37 +02:00
Eric Pouech 1adbe82601 winedbg: Display a valid source file when reporting an error about a missing source file. 2011-03-16 14:14:22 +01:00
Eric Pouech 77eefaed58 winedbg: Also get rid of trailing \r in input_read_line. 2011-03-16 14:14:22 +01:00
Eric Pouech acac3cced4 winedbg: Added support for printing WCHAR in print_typed_basic. 2011-03-16 14:14:22 +01:00
Eric Pouech 16e8816505 dbghelp: When doing a stack backtrace on i386 with dwarf or pdb unwinders, get the PC from the right frame. 2011-03-14 13:19:22 +01:00
Eric Pouech cf7120b8cc winedbg: Fix 'break file : lineno' command so that file can be in other modules than the current one. 2011-03-08 12:30:29 +01:00
Alexandre Julliard 35d5c07538 winedbg: Support setting a breakpoint from a file name and line number. 2011-02-28 14:04:20 +01:00
Eric Pouech f9e1943de8 winedbg: Added support for variables with thread storage. 2011-01-31 14:30:26 +01:00
Alexandre Julliard 22cd7e0e5e winedbg: Add dumping of floating point registers for x86_64. 2011-01-28 11:41:10 +01:00
Alexandre Julliard 4f103ef790 winedbg: Convert menu and string table resources to po files. 2011-01-10 13:54:23 +01:00
Eric Pouech c22eaccd15 winedbg: Try to detect jump (potentially thunk code) while getting the status. 2011-01-10 13:03:52 +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
Hwang YunSong f6b8689b04 winedbg: Update Korean resource. 2011-01-06 11:33:12 +01:00