Commit Graph

100 Commits

Author SHA1 Message Date
Alexandre Julliard 54cd0e9187 ntdll: Make inline asm compatible with Thumb-2.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-19 13:24:14 +01:00
Michael Stefaniuc 636d398c7d ntdll: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-04 09:37:42 +01:00
Piotr Caban 1d093acc1f ntdll: Fix 64-bit values printing in relay.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-06 21:04:45 +02:00
Alexandre Julliard 8a169390c9 ntdll: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-30 12:25:08 +02:00
Alexandre Julliard 8b36885973 ntdll: Fix some stdcall/cdecl calling convention mismatches.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-26 20:53:33 +02:00
Alexandre Julliard e003b9884e ntdll: Use wcslen() instead of strlenW().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-31 15:53:53 +02:00
Alexandre Julliard 285c5490a4 ntdll: Use wcsrchr() instead of strrchrW().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-31 15:53:53 +02:00
Alexandre Julliard 6de0ab276b ntdll: Use wcschr() instead of strchrW().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-31 15:53:53 +02:00
Alexandre Julliard 18411a19b4 ntdll: Use wcscpy() instead of strcpyW().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-31 15:53:53 +02:00
Alexandre Julliard 0d3ba59e13 ntdll: Use the ascii_to_unicode() helper to compare relay module names.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-27 21:16:13 +01:00
Alexandre Julliard f831b3bd3d ntdll: Use wcsnicmp() instead of strncmpiW() where possible.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-27 21:16:13 +01:00
Alexandre Julliard 3e049b6b96 ntdll: Use wcsicmp() instead of strcmpiW() where possible.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-27 21:16:13 +01:00
Alexandre Julliard b96d15e1b0 ntdll: Add .seh annotations for x86_64.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-21 11:56:13 +02:00
Alexandre Julliard 6c41cc6152 winebuild: Support relay debugging for PE builtin dlls.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-16 22:55:50 +02:00
Alexandre Julliard 170bd8f361 include: Pass function name directly to the __ASM_STDCALL macro.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-16 19:00:10 +02:00
Piotr Caban 3588e5abd4 ntdll: Use _stricmp instead of strcasecmp.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-26 13:50:20 +01:00
Alexandre Julliard 9c9efd7068 ntdll: Support relay debugging of fastcall entry points.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-27 23:01:31 +01:00
Michael Stefaniuc 10f23ddb58 ntdll: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 10:15:59 +02:00
Alexandre Julliard dfde119538 ntdll: Fix extra comma in x86_64 relay traces.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-09 14:13:05 -06:00
Alexandre Julliard 3e26caf0d8 ntdll: Avoid the strd ARM instruction.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-17 09:35:12 +01:00
Alexandre Julliard 5e3534ee41 ntdll: Fix handling of floating point arguments in relay debugging on ARM.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-14 13:50:55 +01:00
Alexandre Julliard 8c1bb2aa61 ntdll: Display floating point arguments in relay debugging on i386 and x86-64.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-07 11:14:02 +01:00
Alexandre Julliard 74b50e27e1 ntdll: Fix stack alignment in relay calls on ARM.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-27 16:15:24 +01:00
Alexandre Julliard 822e142403 ntdll: Support magic \1 prefix in debug format for relay traces.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-25 12:05:40 +01:00
Alexandre Julliard ca20bddefc ntdll: Remove support for relay debugging of register functions.
The only remaining ones in krnl386 have been removed.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-26 10:41:27 +02:00
Alexandre Julliard 38d45cbcc8 ntdll: Mark function that are only called from assembly as hidden.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-25 11:48:24 +02:00
Alexandre Julliard 143143ad00 ntdll: Add small assembly wrappers for snooping instead of saving/restoring the entire context.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-20 16:18:45 +02:00
André Hentschel 58d527ef93 ntdll: Add support for relay debugging on ARM64.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-14 10:56:58 +02:00
Dmitry Timoshkov 6262cc325f ntdll: Return from snoop tracing helpers earlier if tracing is disabled.
This allows turning off and on snooping from task manager.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-20 00:30:36 +09:00
Dmitry Timoshkov 451156b4fa ntdll: Print process id in the relay log if requested.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2015-10-01 23:08:12 +09:00
Josh DuBois 44182ffb5b ntdll: Avoid movs between rcx, rdx and xmm registers.
Apple's version of as chokes on movs between rcx and rdx and the xmm
registers.
2015-05-06 20:44:58 +09:00
Alexandre Julliard 3d83da047a ntdll: Use a RunOnce function to initialize relay debugging options. 2013-08-29 19:56:18 +02:00
Alexandre Julliard 45a2cf1e22 ntdll: Reimplement the x86_64 relay entry point in assembler. 2013-05-23 19:03:01 +02:00
Alexandre Julliard fb75238f7e ntdll: Reimplement the i386 relay entry point in assembler. 2013-05-23 19:03:01 +02:00
Alexandre Julliard f4e58868d4 ntdll: Make the entire relay entry point routine CPU-specific. 2013-05-23 19:03:00 +02:00
André Hentschel b6fdba7873 ntdll: Hint that call_entry_point is ARM assembler. 2013-04-05 11:57:52 +02:00
André Hentschel 242da67082 ntdll: Correctly align the stack for odd numbers of arguments in relay traces on ARM. 2013-02-19 10:39:03 +01:00
André Hentschel 1ceec8c789 ntdll: Add support for relay debugging on ARM. 2012-07-16 14:29:12 +02:00
André Hentschel 2741edb998 ntdll: Declare debug channel only when used. 2011-11-07 11:30:38 +01:00
Marcus Meissner 9ed15fbf14 ntdll: Avoid shadowing "p" variable. 2011-10-20 13:20:44 +02:00
Bernhard Loos 23e1777054 ntdll: Provide a timestamp debug channel, which prints a millisecond resolution timestamp in front of debug output. 2011-09-01 18:06:39 +02:00
Alexandre Julliard b41cc4865c ntdll: Get rid of support for register entry points on x86_64. 2011-01-27 14:12:41 +01:00
Alexandre Julliard 085d398302 ntdll: Avoid using the CONTEXT86 type. 2010-10-20 18:37:07 +02:00
Alexandre Julliard 7c9b525128 winebuild: Use the correct registers for relay debugging of floating point arguments on x86_64. 2010-08-30 12:41:28 +02:00
Alexandre Julliard 22d5180b9f winebuild: Support relay debugging for thiscall functions. 2010-08-24 19:59:44 +02:00
Alexandre Julliard 281f701880 ntdll: Make cfi annotations optional for x86_64. 2010-04-12 12:38:27 +02:00
Michael Stefaniuc 5cc3111808 ntdll: Avoid using HIWORD on types that are 64bit on Win64. 2010-02-10 14:32:05 +01:00
Paul Vriens 2e03013fc0 ntdll: Fix length parameter for NtQueryValueKey (Coccinelle). 2010-01-08 10:14:12 +01:00
Alexandre Julliard 0c46341543 ntdll: Add call frame annotations in x86 assembly code. 2009-06-25 12:05:09 +02:00
Alexandre Julliard ca4451fa13 ntdll: Add unwind annotations to the call_entry_point function for x86_64. 2009-06-16 14:26:34 +02:00