Commit Graph

62 Commits

Author SHA1 Message Date
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
Alexandre Julliard
814edb4520 ntdll: Implement relay debugging for register entry points on x86_64. 2009-01-06 17:01:56 +01:00
Alexandre Julliard
e31188d9da winebuild: Improve the calling sequence for register functions.
Pass parameters on the stack instead of retrieving them from the code
stream; this ensures that the code contains only valid instructions.
2009-01-06 12:51:18 +01:00
Alexandre Julliard
4986f42b9f ntdll: Change the DEFINE_REGS_ENTRYPOINT macro to use a number of args instead of a size.
Also assume that all register functions are stdcall.
2009-01-06 12:49:18 +01:00
Alexandre Julliard
c03cd0850c ntdll: Add support for relay debugging on x86_64. 2008-12-27 20:03:25 +01:00
Alexandre Julliard
f55476359c ntdll: Make the relay debug code more generic to allow supporting 64-bit platforms. 2008-12-27 20:02:34 +01:00
Austin English
05faae7b5a Spelling fixes. 2008-04-09 12:07:39 +02:00
Andrew Talbot
1ebe82af65 ntdll: Remove unneeded casts. 2007-12-31 16:45:22 +01:00
Alexandre Julliard
2835dc9fc9 ntdll: Increase the buffer size dynamically for relay debug lists. 2007-12-20 16:59:07 +01:00
Detlef Riekenberg
8d051c81b2 ntdll: Avoid crash with WINEDEBUG=+snoop. 2007-07-11 12:00:28 +02:00
Andrew Talbot
87791cfe71 ntdll: Constify some variables. 2007-06-26 12:56:05 +02:00
Andrew Talbot
9fe3b60f12 ntdll: Exclude unused headers. 2007-05-15 12:19:31 +02:00
Andrew Talbot
ab2a48ae43 ntdll: Remove superfluous semicolons. 2007-04-12 16:16:58 +02:00
Andrew Talbot
0108667754 ntdll: Replace inline static with static inline. 2007-03-17 20:03:57 +01:00
Joel Parker
2319999a05 Remove redundant semicolons for ANSI compatibility. 2007-01-17 11:58:15 +01:00
Andrew Talbot
70bfd0f6c0 ntdll: Qualify use of WINE_DEFAULT_DEBUG_CHANNEL. 2007-01-02 13:20:44 +01:00
Hans Leidekker
f7b0ba7aa7 ntdll: Win64 printf format warning fixes. 2006-10-18 12:35:26 +02:00
Jonathan Ernst
360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Alexandre Julliard
5dc6d95952 ntdll: New implementation of relay thunks.
New implementation of relay thunks that doesn't require modifying code
on the fly, so that the thunks can be put in the text section.
Some performance improvements.
2005-12-18 10:45:01 +01:00
Alexandre Julliard
ae964ac801 Take advantage of the __EXCEPT_PAGE_FAULT macro. 2005-12-16 17:17:57 +01:00
Eric Pouech
681b71ed9a Functions with no paramters must be (void). 2005-12-12 12:42:44 +01:00
Alexandre Julliard
cc01e8ff05 Preserve 16-byte stack alignment in the various assembly
functions. Needed for MacOSX.
2005-11-23 19:55:06 +01:00
Alexandre Julliard
89024a63d3 Make the users of wine_call_from_32_regs save %eax so that we don't
need a special hack in the import thunk.
Added a get_pc_thunk_eax function to simplify the code a bit.
2005-09-18 11:13:54 +00:00
Alexandre Julliard
8e21562903 Added small assembly wrapper to call entry points without having to
worry about their calling convention.
2005-07-22 19:50:13 +00:00
Alexandre Julliard
d3a6a16efd Initialize relay debugging earlier on now that the registry is loaded
by the server.
2005-07-13 14:23:06 +00:00
Alexandre Julliard
47286920b6 Improve a bit the assembly generated for import thunks. 2005-07-01 15:49:39 +00:00
Mike McCormack
04f9f1b066 Don't include winbase.h or winerror.h when not necessary. 2005-06-21 09:52:40 +00:00
Mike McCormack
5b2d5fd758 Use HANDLE instead of HKEY in the NT API. 2005-06-17 13:58:33 +00:00
Alexandre Julliard
190f845cb1 Make import thunks position-independent to avoid text relocations. 2005-06-16 20:51:50 +00:00
Alexandre Julliard
efcc2b83d8 Store a relative pointer for registry entry points to avoid some text
relocations.
2005-06-16 11:04:41 +00:00
Alexandre Julliard
8d5b7908f2 Use the DEFINE_REGS_ENTRYPOINT macro to define register functions
instead of doing it by hand.
2005-06-16 09:59:12 +00:00
Alexandre Julliard
302cd456c3 Moved debugging config options to HKCU\Software\Wine\Debug. 2005-06-14 19:23:00 +00:00
Alexandre Julliard
2e4bca9db5 Added magic comments to all Wine-specific registry accesses to make
them easier to grep.
2005-06-13 18:56:00 +00:00
Rein Klazes
3ef45c7805 Support relay tracing of functions with 18 arguments. 2005-03-24 15:08:37 +00:00
Ivan Leo Puoti
d3edafe1e2 Replace GetCurrentProcess() with NtCurrentProcess() in ntdll. 2005-02-22 19:33:50 +00:00
Robert Shearman
2050591370 Fix NtAllocateVirtualMemory declaration and fix users of the
function.
2004-10-11 20:59:06 +00:00
Hans Leidekker
a9b4a471a9 Fix signed/unsigned comparison warnings. 2004-08-13 23:53:44 +00:00
Alexandre Julliard
60f0439ba6 Make relay and snooping work for LoadLibrary+GetProcAddress sequence
(based on a patch by Dmitry Timoshkov).
2004-08-02 22:25:01 +00:00
Pierre d'Herbemont
c196f63a72 Fix a compile error for SNOOP_GetProcAddress and RELAY_GetProcAddress
on non-i386.
2004-06-18 19:34:10 +00:00