Commit Graph

601 Commits

Author SHA1 Message Date
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
Eric Pouech 637b5da94a winedbg: When printing with default format an integer (in hex), keep printed value in sync with integer size. 2010-12-27 11:48:24 +01:00
Eric Pouech dc6b9c2a58 winedbg: Don't print extra \n in print_basic. 2010-12-27 11:48:01 +01:00
Peter Schlaile 95a3cd8e30 winedbg: Adds an rwatch command to winedbg. 2010-12-06 12:21:16 +01:00
Alexandre Julliard 15ccabc9a8 makefiles: Add common rules for installing the main man page. 2010-12-05 16:17:58 +01:00
Eric Pouech 78cf0961e9 winedbg: Moved into a common function all code dealing with printing information about an exception, and use this function to implement new 'info exception' command. 2010-11-23 14:16:22 +01:00
Eric Pouech 9261ef2d0a winedbg: Rename 'info exception' into 'info frame' (which is somehow closer to what it does). 2010-11-23 14:16:22 +01:00
Paul Vriens 1987b0d748 winedbg: Add the Serbian (Cyrillic) translation.
Translation by Đorđe Vasiljević.
2010-11-03 10:23:55 +01:00
Paul Vriens 9d5fc41ef6 winedbg: Update Serbian (Latin) translations.
Translation by Đorđe Vasiljević.
2010-11-03 10:23:40 +01:00
Yaron Shahrabani 0109a5ee60 winedbg: Added Hebrew translation. 2010-10-26 15:14:48 +02:00
Alexandre Julliard 052eb24b03 winedbg: Don't start another instance of the debugger when it crashes. 2010-10-26 12:55:53 +02:00
André Hentschel 0d0d30505d winedbg: Implement adjust_pc_for_break on ARM. 2010-10-07 12:03:18 +02:00
André Hentschel 1760483dfb winedbg: Fix get_addr on ARM. 2010-10-07 12:03:10 +02:00
Alexandre Julliard 07898fe2fd winedbg: Make BreakOnFirstChance default to FALSE to avoid user confusion. 2010-09-24 11:34:17 +02:00
Gerald Pfeifer 0991954c7f winedbg: Fix the check for GCC version number around db_printf format checking. 2010-09-20 13:02:38 +02:00
André Hentschel 09e6a41435 winedbg: Add ARM support. 2010-09-20 12:59:14 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
André Hentschel ab873c0d25 winedbg: Only add ContextFlags which are defined. 2010-09-14 12:52:36 -05:00
André Hentschel 7bf924f672 winedbg: Fix typo in German translation. 2010-09-09 12:45:48 +02:00
Jerome Leclanche fffa4881f6 winedbg: Escape args in a WINE_FIXME. 2010-09-03 11:06:12 +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 aebb9dd316 winedbg: Don't access inside a bp structure if it's not initialized.
Spotted by Peter Urbanec.
2010-08-26 12:42:26 +02:00
Eric Pouech 1e0af22ad2 dbghelp: dwarf debug info: a few more fixes to dwarf parsing. 2010-08-26 12:42:15 +02:00
Davide Pizzetti cf96f89ef0 winedbg: Italian translation update. 2010-07-22 10:23:05 +02:00
Alexandre Julliard 6fb39dfe4a programs: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:37 +02:00
Igor Paliychuk 1fbb96f89a winedbg: Add Ukrainian translation. 2010-07-20 16:29:46 +02:00
Damjan Jovanovic 9c858d914e winedbg: Fix Serbian Latin translation. 2010-07-14 17:55:32 +02:00
Paul Vriens 03742f4eff winedbg: Add the Serbian (Latin) translation.
Translation by Nenad Vujic <nesa24casa@gmail.com>
2010-07-13 19:50:44 +02:00
Gustavo Henrique Milaré b932fa3a81 winedbg: Update Portuguese (Brazilian) translation. 2010-07-01 10:10:11 +02:00
Alexandre Julliard f21861d3be winedbg: Add a name for a couple of instructions in the disassembler. 2010-06-30 21:16:59 +02:00
Alexandre Julliard 15d30f84a3 winedbg: Use the correct context when fetching the frame state for backtraces. 2010-06-30 21:16:24 +02:00
Michael Stefaniuc 911278b874 winedbg: Add the Romanian translation.
Translation by Claudia Cotună, reviewed by Alexandru Băluț.
2010-06-25 12:50:42 +02:00
Vitaly Lipatov b974852ce1 Update Russian translations. 2010-06-18 16:22:07 +02:00
Łukasz Wojniłowicz 43a5c15a2e winedbg: Add the Polish translation. 2010-06-07 12:55:00 +02:00
Paul Vriens c43cdd1797 winedbg: Add the Danish translation.
Translation by Thomas Larsen <sikker2004@yahoo.com>
2010-06-01 11:06:12 +02:00
Andrew Eikum d3f80c1e9f winedbg: Allow user to specify length of stack info output. 2010-05-25 12:14:00 +02:00
Matej Špindler db043526db winedbg: Add Slovenian translation. 2010-05-21 18:58:06 +02:00
Alexandre Julliard 78f3943ab1 winedbg: Don't install the man page in a wow64 build. 2010-05-17 12:42:31 +02:00
Jim Cameron 66d84158ea winedbg: Make disassembler properly print EMX and EXMM type operands. 2010-05-03 17:20:03 +02:00
Eric Pouech c4efb23d27 winedbg: Properly fix the previous patch about gcc 2.95 not supporting printf attribute on function pointers. 2010-05-03 14:01:20 +02:00
Eric Pouech e5555b0fb5 winedbg: Don't assert on some lvalue's write conditions. 2010-04-20 11:16:40 +02:00
Eric Pouech 285200b29b winedbg: For stack info command, display information in 'a' format (instead of 'x') to get word size machine (instead of forcing 32bit). 2010-04-20 11:15:25 +02:00
Eric Pouech 3833600c79 winedbg: Correctly display whether we're in 32 vs 64 bit code. 2010-04-20 11:15:18 +02:00
Davide Pizzetti d084a68947 winedbg: Italian translation update. 2010-04-19 14:55:04 +02:00
Eric Pouech a18fdfc07e winedbg: Fix minidump support on 64bit OSes (don't clamp addresses out of 64bit minidumps). 2010-04-16 16:54:07 +02:00
Eric Pouech e45a0b7ab3 winedbg: Add support for x86-64 in known CPUs while reading minidumps. 2010-04-16 16:53:43 +02:00
Eric Pouech e4c29f9087 winedbg: Use standard Wine lists for threads. 2010-04-13 11:43:09 +02:00
Eric Pouech d9e42e87f2 winedbg: Use standard Wine lists for processes. 2010-04-13 11:42:57 +02:00
Eric Pouech 2becd3349d winedbg: Merge pointer deref and array index functions into a single one. 2010-04-13 11:42:34 +02:00
Eric Pouech 0d7a6f13a8 winedbg: Describe pointer size in CPU backend structure. 2010-04-13 11:42:18 +02:00
Eric Pouech e9a31f2770 winedbg: Properly guard against setting a watchpoint against a variable stored in a register. 2010-04-13 11:42:00 +02:00
Eric Pouech a1986b20e7 winedbg: Fix buffer size for 8-byte watchpoint. 2010-04-13 11:41:54 +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 2367186805 winedbg: Simplify a bit the find_triggered_watch function. 2010-04-07 13:50:48 +02:00
Alexandre Julliard 4f62b09071 winedbg: Save internal variables as proper DWORD values. 2010-04-07 13:09:14 +02:00
Eric Pouech d49fe171f7 winedbg: Allow backtraces to properly return address outside functions. 2010-03-31 11:37:00 +02:00
Eric Pouech eef72ad2ff winedbg: Add some missing symbol flags to pick up local/parameters variables in symbol pickers. 2010-03-31 11:36:35 +02:00
Eric Pouech ecbf297fbb winedbg: When filling an imagehlp frame information, also do the stack field, it's used on x86-64 platforms. 2010-03-31 11:36:30 +02:00
Eric Pouech d29c6ead92 winedbg: Store the CONTEXT in each stack frame to enable register access in the non topmost frames. 2010-03-31 11:36:23 +02:00
Mikhail Maroukhine 93d9d8a3af programs: Fix compiler warnings with flag -Wcast-qual. 2010-03-29 12:18:48 +02:00
Francois Gouget 51dfd9adb1 winedbg: Fix compilation with gcc 2.95 and non-GNU compilers. 2010-03-29 11:45:27 +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
Alexandre Julliard fbef7217b9 makefiles: Remove the no longer needed explicit dependencies for bison files. 2010-03-16 13:28:24 +01:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Marcus Meissner a3afe94831 winedbg: Segment registers are not affected by rex prefix (Coverity). 2010-02-18 12:43:00 +01:00
Marcus Meissner 6beb48c4e1 winedbg: rex is not used for Grp15b (Coverity). 2010-02-17 09:42:55 +01:00
Dmitry Timoshkov aa25fcded7 winedbg: Print parameter values in backtraces in hex. 2010-02-16 11:33:28 +01:00
Alexandre Julliard 9644d1dcd7 makefiles: Generate a general catch-all dependency on .tab.h files to replace the manually maintained ones. 2010-02-08 20:58:00 +01: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 7c9cd44965 winedbg: Added some more instructions disassembly. 2010-02-04 13:39:27 +01:00
Eric Pouech 4b8b078344 winedbg: Fix 32bit displacement sign extension. 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 f91948ad94 winedbg: Extend print_typed_basic to handle unicode strings. 2010-02-04 13:39:27 +01:00
Luca Bennati 45d3113747 winedbg: Add Italian translation. 2010-02-02 11:47:19 +01:00
Marcin Baczyński 477117a03f winedbg: Remove superfluous void* cast. 2010-01-07 17:59:57 +01:00
André Hentschel 76c518539f winedbg: Update link. 2010-01-06 09:52:44 +01:00
Eric Pouech 280259aaca winedbg: In "info threads" commands, also show the name of the processes even if not debugged. 2009-12-30 16:15:20 +01:00
Gerald Pfeifer f2d18c1c26 winedbg: Use #elif defined(...) instead of plain #elif in main(). 2009-12-28 12:27:16 +01:00
Gerald Pfeifer 0885d345b6 winedbg: Use #elif defined(...) instead of plain #elif when detecting architectures in dbg_start_interactive(). 2009-12-23 14:27:30 +01:00
Eric Pouech 4c661dc822 winedbg: Fix for stack symbols on 64bit platform. 2009-12-22 15:38:28 +01:00
Eric Pouech afcd3a6b1a winedbg: Ensure the stack pointer is also passed to StackWalk. 2009-12-22 15:38:14 +01:00
Eric Pouech a775d41c10 winedbg: Push the correct machine type to StackWalk. 2009-12-22 15:38:01 +01:00
Nicolas Le Cam 7692d926e8 winedbg: Fix Norwegian translation warning by adding UTF-8 pragma. 2009-12-16 12:20:35 +01:00
Alexander Nicolaysen Sørnes bdda678803 winedbg: Add Norwegian Bokmål translation. 2009-12-15 16:09:12 +01:00
Eric Pouech 4195c2f3bb winedbg: Implement breakpoint management for x86_64 targets. 2009-12-15 11:58:15 +01:00
Eric Pouech f96bdda0f3 winedbg: Added 'a' to the format supported in examine command (a stands for address). 2009-12-15 11:55:57 +01:00
Eric Pouech 5aa859de72 winedbg: Allow internal (host) integral variables to hold 64bit value on 64bit platforms. 2009-12-15 11:55:41 +01:00
Eric Pouech 4ce6c90c36 winedbg: Fix some types for homogenous support on 64bit platform. 2009-12-15 11:55:17 +01:00
Eric Pouech 12c3a012cb winedbg: Force 64bit line number information throughout the code to ease 64bit portability. 2009-12-14 12:30:56 +01:00
Eric Pouech 91c7ff2994 winedbg: For the x86_64 backend, fetch all the integral types. 2009-12-14 12:30:42 +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
Eric Pouech 7daa50c041 winedbg: Ensure all addresses passed to break functions are 64bit wide. 2009-12-14 12:29:35 +01:00
Eric Pouech 485280c64b winedbg: Enforce 64bit modules address on 64bit platforms. 2009-12-14 12:29:23 +01:00
Francois Gouget e19c71ad80 winedbg: Use SUBLANG_NEUTRAL for Spanish. 2009-12-14 12:04:04 +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
Jaime Rave 2113050e75 winedbg: Add Spanish translation. 2009-12-09 12:19:25 +01:00
Eric Pouech a116f78ded winedbg: In proxy mode, correctly init the wine_segs fields. 2009-11-09 20:02:20 +01:00
Eric Pouech 700d9df414 winedbg: Properly manage Wine's dbghelp extensions for constant symbols which value is passed by ref. 2009-10-05 14:56:47 +02:00
Eric Pouech 31cf71c244 winedbg: Fix backend prototypes for PowerPC and Alpha. 2009-09-02 10:24:14 +02:00
Dylan Smith 262e1bfa92 winedbg: Resolve typedefs when checking for user defined type.
All that matters is that the real type is a user defined type (e.g.
structure, class, or union), so I used types_get_real_type instead of
types_get_info to avoid issues with typedefs.
2009-08-27 14:13:49 +02:00
Dylan Smith fe8f6b8068 winedbg: Extract address from expression for listing source at address. 2009-08-27 14:13:40 +02:00
Dylan Smith 6f0655242c winedbg: Fixed listing source of function in file. 2009-08-24 15:17:34 +02:00
Dylan Smith 1cb7c1a11c winedbg: Prevent syntax errors for list command due to the lexer.
The list command allows more than just a pathname, but since a pathname
allows such a wide range of characters, it will prevent other parameters
from getting parsed properly (e.g. a start line number). This even
interfered with the usage of pathname for the list command, since the
command typically includes a line number within the file.
2009-08-24 15:17:34 +02:00
Dylan Smith a35652d654 winedbg: Make limitations of set command clearer in man page. 2009-08-17 14:43:09 +02:00
Dylan Smith 82f810dc73 winedbg: Properly end non-formatted text in man page.
The .nf macro stops formatting of the text in the man page, and the
macro .fi should be used to end.  This wasn't done before, which is
noticable for where the text is wrapped when opening the man page with a
larger/smaller terminal width.
2009-08-17 14:42:48 +02:00
Dylan Smith 26c427d50a winedbg: Fixed syntax of set command in man pages. 2009-08-17 14:42:32 +02:00
Dylan Smith 81c9b3a105 winedbg: Correct header for virtual memory mapping for end address.
The virtual memory mapping info retrieved by the command "info maps" has
the end address in the second column, even though the title for the
column says "Size".
2009-08-17 14:42:23 +02:00
Dylan Smith 3add397abc winedbg: Remove unused tokens in grammer file. 2009-08-17 14:40:14 +02:00
Dylan Smith 4782d1dde6 winedbg: Prevent syntax error for setting all debug channels.
The lexer was matching tALL before checking for tIDENTIFIER, and the set
command didn't have any rules for tALL, which prevented setting the
flags for all the debug channels.
2009-08-17 14:40:03 +02:00
Vladimir Pankratov 0c7b34bdd9 winedbg: Convert the Russian resources to UTF-8. 2009-07-23 11:22:41 +02:00
Ricardo Filipe 1156221c3f winedbg: Add Portuguese translation. 2009-07-20 12:17:21 +02:00
Paul Vriens 3c876de7a4 winedbg: Remove an unneeded pragma from the Swedish translation. 2009-07-15 13:24:06 +02:00
Eric Pouech 28dd482279 winedbg: 'Int XX' is not a function call, so don't try to handle it as such on i386. 2009-07-13 10:25:51 +02:00
Anders Jonsson f7ec04766b winedbg: Add Swedish translation. 2009-07-08 20:34:04 +02:00
Alexandre Julliard 56af92b073 makefiles: Regenerate the source lists using make_makefiles. 2009-07-03 13:26:38 +02:00
Michael Stefaniuc 7cf2855cf7 winedbg: Build language resource files separately.
Do not include them from an other rc file.
2009-07-01 11:42:19 +02:00
Michael Stefaniuc 34f771c207 winedbg: Include the local resource header last. 2009-07-01 11:42:04 +02:00
Frédéric Delanoy af8348c5b7 winedbg: Add French translation. 2009-06-30 12:30:38 +02:00
Eric Pouech 87132a3a6a winedbg: Correctly print type for functions without parameters. 2009-06-29 13:13:43 +02:00
Eric Pouech bfb6c80148 winedbg: Print array size when looking at its type. 2009-06-29 13:13:37 +02:00
Austin English 7f13b126d5 winedbg: Return 0 if --help is specified. 2009-06-25 11:45:57 +02:00
Alexandre Julliard 8c7feab0f9 winedbg: Don't display the crash dialog for winedevice.exe, it only confuses users. 2009-06-23 16:20:33 +02:00
André Hentschel c50a4738d6 winedbg: Fix comment header. 2009-06-08 12:42:29 +02: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 05a4d26c47 winedbg & appwiz.cpl: Use SUBLANG_NEUTRAL for German. 2009-06-03 11:26:07 +02:00
André Hentschel 426e541ba5 winedbg: Add German translation. 2009-06-01 16:16:05 +02:00