Eric Pouech
05c5a12f87
winedbg: Implement proper assignements of floating point numbers.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-10 22:00:17 +01:00
Eric Pouech
860de95630
winedbg: Add helper to transfer memory between lvalues.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-10 22:00:17 +01:00
Eric Pouech
c4548c04eb
winedbg: Add helper to compare types and use it to detect wrong assigments.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-10 22:00:17 +01:00
Eric Pouech
0a16dbc730
winedbg: Move bitfield extraction to extract_lgint.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-08 22:14:44 +01:00
Eric Pouech
ef3fca0c33
winedbg: Revamp dbg_lvalue structure and add helpers for init.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-08 22:14:44 +01:00
Eric Pouech
9b8d043cc8
winedbg: Renamed extract_longlong() into extract_lgint() for clarity.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-07 20:32:27 +01:00
Eric Pouech
e656c29e59
winedbg: Remove methods for fetching/storing integers in CPU backends.
...
All integer code assume CPU of debuggee encode integers:
- little endian
- 2 complement for signed integers.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-07 20:32:14 +01:00
Eric Pouech
53ae7824b6
winedbg: Introduce dbg_lg(u)int_t and migrate all integral computations on this type.
...
As a side effect, the internal 'long int' type is now always 8 byte wide.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-07 20:32:05 +01:00
Eric Pouech
d81e757075
winedbg: Use %ls to print wide character strings.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-01 18:13:55 +01:00
Eric Pouech
8dec81fb6f
winedbg: Fixed missing test.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-01 18:13:55 +01:00
Eric Pouech
9061634a01
winedbg: Be more strict when detecting a string from an array.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-01 18:13:54 +01:00
Eric Pouech
c8006d07eb
winedbg: Use debuggee pointer size when extracting typed value.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-26 22:08:55 +01:00
Eric Pouech
16fb9640d7
winedbg: Get size of underlying integral types in enums.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-26 22:08:55 +01:00
Eric Pouech
07502a0646
winedbg: Replace wine_dbgstr_longlong with I64 width modifier.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-26 22:08:54 +01:00
Eric Pouech
d65edd04cc
winedbg: Use I width modifier for DWORD_PTR printf's args.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-26 22:08:54 +01:00
Eric Pouech
14781c7183
winedbg: Use wide-char string literals.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-26 22:08:54 +01:00
Eric Pouech
01ddc2f8e4
winedbg: Use proper width when printing addresses with leading 0.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-12 18:41:06 +02:00
Alexandre Julliard
0ea9fe999c
winedbg: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-04 15:20:56 +02:00
Alexandre Julliard
b9046a4936
winedbg: Avoid using 'long' types.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-04 14:50:41 +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
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
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
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
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
Gerald Pfeifer
ced33792ff
winedbg: Avoid "uninitialized variable" compiler warning in types_extract_as_longlong.
2015-06-22 19:16:48 +09:00
Marcus Meissner
aa59e6744d
winedbg: Initialize type.module (Coverity).
2015-05-07 22:29:22 +09: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
Frédéric Delanoy
fe580c083d
winedbg: Use BOOL type where appropriate.
2013-11-11 13:27:28 +01:00
Alexandre Julliard
d17bc39b1f
winedbg: Fix some pointer conversion warnings.
2012-05-29 19:14:39 +02:00
Eric Pouech
88949b2c59
winedbg: Fix set instruction when sizeof(int) <> sizeof register.
2012-04-05 14:51:33 +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
5aa859de72
winedbg: Allow internal (host) integral variables to hold 64bit value on 64bit platforms.
2009-12-15 11:55:41 +01:00
Eric Pouech
485280c64b
winedbg: Enforce 64bit modules address on 64bit platforms.
2009-12-14 12:29:23 +01:00
Alexandre Julliard
ec73f0b71a
winedbg: Fix a number of 64-bit pointer truncation issues.
2009-12-10 15:23:45 +01: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
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
Michael Stefaniuc
2e6ac3a571
winedbg: Remove some superfluous pointer casts.
2009-04-21 13:16:33 +02:00
Eric Pouech
fac7496345
winedbg: Fix the way array derefs are done.
2009-03-30 14:20:44 +02:00
Francois Gouget
96848a0605
Remove spaces before '\n's.
2009-03-09 12:05:58 +01:00
Alexandre Julliard
4441065182
winedbg: Fix pointer cast warnings on 64-bit.
2009-01-09 14:06:12 +01:00
Vincent Povirk
8f6736cf13
winedbg: Fix string format warnings.
2008-12-05 12:30:22 +01:00
Eric Pouech
f7f9c08fc0
winedbg: Fixed the print_basic command when dealing with long long values.
2008-05-27 12:03:44 +02:00
Eric Pouech
98e2486820
winedbg: Removed unneeded variable from print_basic.
2008-05-27 12:02:36 +02:00
Gerald Pfeifer
a6dd4795fa
winedbg: Fix type of loop variable in types_udt_find_element().
2007-11-16 13:23:48 +01:00
Francois Gouget
9d2f48dc0f
dbghelp: Better match the PSDK types, especially with regards to constness.
...
Also add a number of missing prototypes, especially 64bit or Unicode
versions of existing prototypes, and the related structures. Update
win32.api to fix the winapi_check warnings.
2007-08-03 12:43:40 +02:00
Eric Pouech
dbe0610bb4
winedbg: Fix printing function signature type for circular references on return type.
2007-03-05 12:14:42 +01:00
Eric Pouech
51a9b2273b
winedbg: Fix maint type when no process is active.
2007-03-05 12:14:22 +01:00
Alexandre Julliard
6744929428
winedbg: Win64 printf format fixes.
2006-12-20 14:57:08 +01:00