Release 950706
Wed Jul 5 19:06:35 1995 Alexandre Julliard <julliard@sunsite.unc.edu>
* [controls/scroll.c]
Fixed drawing bug that caused part of a non-client scroll bar
to be painted even when the scroll-bar was hidden.
* [debugger/break.c] [debugger/dbg.y]
Rewrote breakpoint handling to work in 16-bit mode.
Implemented single-stepping ('step' and 'next' instructions).
* [debugger/debug.l]
Format specifier is now a separate token.
Entering an empty line at the debugger prompt causes the previous
command to be repeated, like under gdb.
* [debugger/debug.l] [debugger/registers.c]
Differentiate 16-bit and 32-bit registers without taking current
mode into account ($eax is always 32-bit, $ax always 16-bit).
* [debugger/stack.c]
Fixed stack information routines to differentiate between 16-bit
and 32-bit stacks.
* [loader/task.c]
Option -debug now sets a breakpoint at the first instruction of
every loaded task.
* [miscemu/instr.c]
Added handling of lock, repe and repne prefixes.
* [objects/dib.c]
Changed StretchDIBits() to do the correct thing, even if it's still
not really optimal.
* [windows/graphics.c]
Fixes in RoundRect(), thanks to Babak Masalehdan.
* [windows/message.c]
Tried to fix mouse event handling with respect to disabled
windows.
* [windows/painting.c]
Clear WIN_NEEDS_NCPAINT flag before sending WM_NCPAINT to avoid
infinite loops.
* [windows/win.c]
Fixed IsWindowVisible() to return FALSE when one of the parent
windows is hidden.
Sat Jul 1 22:08:21 1995 Martin von Loewis <loewis@informatik.hu-berlin.de>
* [if1632/compobj.spec][misc/compobj.c]
CoGetMalloc: New function
Added relay entries for COMPOBJ ordinals above 100
CoInitialize: Changed parameter to DWORD
* [if1632/ole2.spec]
Exported implementation of OleBuildVersion
* [if1632/ole2disp.spec][misc/ole2disp.c][misc/Imakefile]
ole2disp.c: New file
SysAllocString, SysReallocString, SysAllocStringLen,
SysReAllocStringLen, SysFreeString, SysStringLen: new functions
* [if1632/ole2nls.spec][include/winnls.h][misc/ole2nls.c]
CompareStringA: New function
Thu Jun 29 19:42:02 1995 Marcus Meissner <msmeissn@faui01.informatik.uni-erlangen.de>
* [objects/font.c] [if1632/gdi.spec]
New stubs for CreateScalableFontResource, GetGlyphOutline.
Thu Jun 29 13:47:08 GMT 1995 Göran Thyni (goran@norrsken.bildbasen.se)
* [misc/commdlg.c]
Extensive changes and bug fixes to FileDialog handling,
behaves more like native Windows.
Wed Jun 28 13:04:44 1995 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
* [controls/listbox.c] [controls/combo.c]
Some minor optimizations.
* [memory/local.c]
LOCAL_FindFreeBlock(): Never use the last one.
* [memory/global.c]
GlobalReAlloc(): GMEM_MODIFY must not be ignored when size==0.
* [misc/file.c]
read() returns an error when length==0. This is not what Windows
programs expect, so pay attention to this in _lread(). Changed this
in _lwrite(), _hread(), _hwrite(), too.
* [loader/resource.c]
LoadIcon(): Ignore bih->biSizeImage, some icons have wrong values in
there.
* [if1632/shell.spec] [misc/shell.c]
Wrong spec file entries caused havoc: HKEY has 32 bit, not 16.
Accept some more combinations of parameters in the Reg..() functions.
* [if1632/toolhelp.spec]
Make InterruptRegister() and InterruptUnregister() return false.
* [windows/hook.c]
CallNextHookEx() used to crash when called with a null hhook. Fixed.
Wed Jun 28 10:14:34 1995 Martin von Loewis <martin@informatik.hu-berlin.de>
* [include/neexe.h][loader/ne_image.c]
NE_LoadSegment: Detect iterated segments
* [misc/ole2nls.c]
LOCALE_SLONGDATE: fixed typo
* [miscemu/int5c.c]
Reordered include files to avoid conflicts with Linux libc.5.1
* [rc/winerc.c]
Added -b option to process binary resource files into C arrays
* [include/callback.h]
CallWndProc: Added dummy ds parameter for libwine
* [include/gdi.h][include/user.h]
USER_HEAP_ALLOC, GDI_HEAP_ALLOC: dropped flags parameter
* [include/ldt.h][include/stackframe.h]
defined segment conversion macros for libwine
* [misc/atom.c]
Defined USER_HeapSel for libwine
* [misc/main.c]
Disable -dll option for libwine
* [misc/user.c]
removed GetFreeSystemResources, SystemHeapInfo from libwine for now
* [toolkit/heap.c]
fixed LocalLock prototype
* [toolkit/sup.c]
sync'ed load_mz_header, load_ne_header with structures
* [toolkit/winmain.c]
Disabled resource DLLs for libwine for now
Mon Jun 26 19:30:24 1995 Hans de Graaff (graaff@twi72.twi.tudelft.nl)
* [misc/main.c]
Fixed -enhanced option to report a 386 CPU instead of a 286.
Fri Jun 23 23:18:25 1995 Marcus Meissner <msmeissn@faui01.informatik.uni-erlangen.de>
* [misc/dos_fs.c]
Remove maximum open dosdirent limit (fixing the winfile.exe
problem) by using telldir()/seekdir().
Fri Jun 23 13:42:25 1995 Hans de Graaff (graaff@twi72.twi.tudelft.nl)
* [misc/profile.c]
Fixed problem parsing empty lines within sections in .ini files.
1995-07-06 17:18:27 +00:00
|
|
|
/*
|
|
|
|
* Debugger definitions
|
|
|
|
*
|
|
|
|
* Copyright 1995 Alexandre Julliard
|
2002-03-09 23:29:33 +00:00
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
2006-05-18 12:49:52 +00:00
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
Release 950706
Wed Jul 5 19:06:35 1995 Alexandre Julliard <julliard@sunsite.unc.edu>
* [controls/scroll.c]
Fixed drawing bug that caused part of a non-client scroll bar
to be painted even when the scroll-bar was hidden.
* [debugger/break.c] [debugger/dbg.y]
Rewrote breakpoint handling to work in 16-bit mode.
Implemented single-stepping ('step' and 'next' instructions).
* [debugger/debug.l]
Format specifier is now a separate token.
Entering an empty line at the debugger prompt causes the previous
command to be repeated, like under gdb.
* [debugger/debug.l] [debugger/registers.c]
Differentiate 16-bit and 32-bit registers without taking current
mode into account ($eax is always 32-bit, $ax always 16-bit).
* [debugger/stack.c]
Fixed stack information routines to differentiate between 16-bit
and 32-bit stacks.
* [loader/task.c]
Option -debug now sets a breakpoint at the first instruction of
every loaded task.
* [miscemu/instr.c]
Added handling of lock, repe and repne prefixes.
* [objects/dib.c]
Changed StretchDIBits() to do the correct thing, even if it's still
not really optimal.
* [windows/graphics.c]
Fixes in RoundRect(), thanks to Babak Masalehdan.
* [windows/message.c]
Tried to fix mouse event handling with respect to disabled
windows.
* [windows/painting.c]
Clear WIN_NEEDS_NCPAINT flag before sending WM_NCPAINT to avoid
infinite loops.
* [windows/win.c]
Fixed IsWindowVisible() to return FALSE when one of the parent
windows is hidden.
Sat Jul 1 22:08:21 1995 Martin von Loewis <loewis@informatik.hu-berlin.de>
* [if1632/compobj.spec][misc/compobj.c]
CoGetMalloc: New function
Added relay entries for COMPOBJ ordinals above 100
CoInitialize: Changed parameter to DWORD
* [if1632/ole2.spec]
Exported implementation of OleBuildVersion
* [if1632/ole2disp.spec][misc/ole2disp.c][misc/Imakefile]
ole2disp.c: New file
SysAllocString, SysReallocString, SysAllocStringLen,
SysReAllocStringLen, SysFreeString, SysStringLen: new functions
* [if1632/ole2nls.spec][include/winnls.h][misc/ole2nls.c]
CompareStringA: New function
Thu Jun 29 19:42:02 1995 Marcus Meissner <msmeissn@faui01.informatik.uni-erlangen.de>
* [objects/font.c] [if1632/gdi.spec]
New stubs for CreateScalableFontResource, GetGlyphOutline.
Thu Jun 29 13:47:08 GMT 1995 Göran Thyni (goran@norrsken.bildbasen.se)
* [misc/commdlg.c]
Extensive changes and bug fixes to FileDialog handling,
behaves more like native Windows.
Wed Jun 28 13:04:44 1995 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
* [controls/listbox.c] [controls/combo.c]
Some minor optimizations.
* [memory/local.c]
LOCAL_FindFreeBlock(): Never use the last one.
* [memory/global.c]
GlobalReAlloc(): GMEM_MODIFY must not be ignored when size==0.
* [misc/file.c]
read() returns an error when length==0. This is not what Windows
programs expect, so pay attention to this in _lread(). Changed this
in _lwrite(), _hread(), _hwrite(), too.
* [loader/resource.c]
LoadIcon(): Ignore bih->biSizeImage, some icons have wrong values in
there.
* [if1632/shell.spec] [misc/shell.c]
Wrong spec file entries caused havoc: HKEY has 32 bit, not 16.
Accept some more combinations of parameters in the Reg..() functions.
* [if1632/toolhelp.spec]
Make InterruptRegister() and InterruptUnregister() return false.
* [windows/hook.c]
CallNextHookEx() used to crash when called with a null hhook. Fixed.
Wed Jun 28 10:14:34 1995 Martin von Loewis <martin@informatik.hu-berlin.de>
* [include/neexe.h][loader/ne_image.c]
NE_LoadSegment: Detect iterated segments
* [misc/ole2nls.c]
LOCALE_SLONGDATE: fixed typo
* [miscemu/int5c.c]
Reordered include files to avoid conflicts with Linux libc.5.1
* [rc/winerc.c]
Added -b option to process binary resource files into C arrays
* [include/callback.h]
CallWndProc: Added dummy ds parameter for libwine
* [include/gdi.h][include/user.h]
USER_HEAP_ALLOC, GDI_HEAP_ALLOC: dropped flags parameter
* [include/ldt.h][include/stackframe.h]
defined segment conversion macros for libwine
* [misc/atom.c]
Defined USER_HeapSel for libwine
* [misc/main.c]
Disable -dll option for libwine
* [misc/user.c]
removed GetFreeSystemResources, SystemHeapInfo from libwine for now
* [toolkit/heap.c]
fixed LocalLock prototype
* [toolkit/sup.c]
sync'ed load_mz_header, load_ne_header with structures
* [toolkit/winmain.c]
Disabled resource DLLs for libwine for now
Mon Jun 26 19:30:24 1995 Hans de Graaff (graaff@twi72.twi.tudelft.nl)
* [misc/main.c]
Fixed -enhanced option to report a 386 CPU instead of a 286.
Fri Jun 23 23:18:25 1995 Marcus Meissner <msmeissn@faui01.informatik.uni-erlangen.de>
* [misc/dos_fs.c]
Remove maximum open dosdirent limit (fixing the winfile.exe
problem) by using telldir()/seekdir().
Fri Jun 23 13:42:25 1995 Hans de Graaff (graaff@twi72.twi.tudelft.nl)
* [misc/profile.c]
Fixed problem parsing empty lines within sections in .ini files.
1995-07-06 17:18:27 +00:00
|
|
|
*/
|
|
|
|
|
1996-07-12 19:02:39 +00:00
|
|
|
#ifndef __WINE_DEBUGGER_H
|
|
|
|
#define __WINE_DEBUGGER_H
|
Release 950706
Wed Jul 5 19:06:35 1995 Alexandre Julliard <julliard@sunsite.unc.edu>
* [controls/scroll.c]
Fixed drawing bug that caused part of a non-client scroll bar
to be painted even when the scroll-bar was hidden.
* [debugger/break.c] [debugger/dbg.y]
Rewrote breakpoint handling to work in 16-bit mode.
Implemented single-stepping ('step' and 'next' instructions).
* [debugger/debug.l]
Format specifier is now a separate token.
Entering an empty line at the debugger prompt causes the previous
command to be repeated, like under gdb.
* [debugger/debug.l] [debugger/registers.c]
Differentiate 16-bit and 32-bit registers without taking current
mode into account ($eax is always 32-bit, $ax always 16-bit).
* [debugger/stack.c]
Fixed stack information routines to differentiate between 16-bit
and 32-bit stacks.
* [loader/task.c]
Option -debug now sets a breakpoint at the first instruction of
every loaded task.
* [miscemu/instr.c]
Added handling of lock, repe and repne prefixes.
* [objects/dib.c]
Changed StretchDIBits() to do the correct thing, even if it's still
not really optimal.
* [windows/graphics.c]
Fixes in RoundRect(), thanks to Babak Masalehdan.
* [windows/message.c]
Tried to fix mouse event handling with respect to disabled
windows.
* [windows/painting.c]
Clear WIN_NEEDS_NCPAINT flag before sending WM_NCPAINT to avoid
infinite loops.
* [windows/win.c]
Fixed IsWindowVisible() to return FALSE when one of the parent
windows is hidden.
Sat Jul 1 22:08:21 1995 Martin von Loewis <loewis@informatik.hu-berlin.de>
* [if1632/compobj.spec][misc/compobj.c]
CoGetMalloc: New function
Added relay entries for COMPOBJ ordinals above 100
CoInitialize: Changed parameter to DWORD
* [if1632/ole2.spec]
Exported implementation of OleBuildVersion
* [if1632/ole2disp.spec][misc/ole2disp.c][misc/Imakefile]
ole2disp.c: New file
SysAllocString, SysReallocString, SysAllocStringLen,
SysReAllocStringLen, SysFreeString, SysStringLen: new functions
* [if1632/ole2nls.spec][include/winnls.h][misc/ole2nls.c]
CompareStringA: New function
Thu Jun 29 19:42:02 1995 Marcus Meissner <msmeissn@faui01.informatik.uni-erlangen.de>
* [objects/font.c] [if1632/gdi.spec]
New stubs for CreateScalableFontResource, GetGlyphOutline.
Thu Jun 29 13:47:08 GMT 1995 Göran Thyni (goran@norrsken.bildbasen.se)
* [misc/commdlg.c]
Extensive changes and bug fixes to FileDialog handling,
behaves more like native Windows.
Wed Jun 28 13:04:44 1995 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
* [controls/listbox.c] [controls/combo.c]
Some minor optimizations.
* [memory/local.c]
LOCAL_FindFreeBlock(): Never use the last one.
* [memory/global.c]
GlobalReAlloc(): GMEM_MODIFY must not be ignored when size==0.
* [misc/file.c]
read() returns an error when length==0. This is not what Windows
programs expect, so pay attention to this in _lread(). Changed this
in _lwrite(), _hread(), _hwrite(), too.
* [loader/resource.c]
LoadIcon(): Ignore bih->biSizeImage, some icons have wrong values in
there.
* [if1632/shell.spec] [misc/shell.c]
Wrong spec file entries caused havoc: HKEY has 32 bit, not 16.
Accept some more combinations of parameters in the Reg..() functions.
* [if1632/toolhelp.spec]
Make InterruptRegister() and InterruptUnregister() return false.
* [windows/hook.c]
CallNextHookEx() used to crash when called with a null hhook. Fixed.
Wed Jun 28 10:14:34 1995 Martin von Loewis <martin@informatik.hu-berlin.de>
* [include/neexe.h][loader/ne_image.c]
NE_LoadSegment: Detect iterated segments
* [misc/ole2nls.c]
LOCALE_SLONGDATE: fixed typo
* [miscemu/int5c.c]
Reordered include files to avoid conflicts with Linux libc.5.1
* [rc/winerc.c]
Added -b option to process binary resource files into C arrays
* [include/callback.h]
CallWndProc: Added dummy ds parameter for libwine
* [include/gdi.h][include/user.h]
USER_HEAP_ALLOC, GDI_HEAP_ALLOC: dropped flags parameter
* [include/ldt.h][include/stackframe.h]
defined segment conversion macros for libwine
* [misc/atom.c]
Defined USER_HeapSel for libwine
* [misc/main.c]
Disable -dll option for libwine
* [misc/user.c]
removed GetFreeSystemResources, SystemHeapInfo from libwine for now
* [toolkit/heap.c]
fixed LocalLock prototype
* [toolkit/sup.c]
sync'ed load_mz_header, load_ne_header with structures
* [toolkit/winmain.c]
Disabled resource DLLs for libwine for now
Mon Jun 26 19:30:24 1995 Hans de Graaff (graaff@twi72.twi.tudelft.nl)
* [misc/main.c]
Fixed -enhanced option to report a 386 CPU instead of a 286.
Fri Jun 23 23:18:25 1995 Marcus Meissner <msmeissn@faui01.informatik.uni-erlangen.de>
* [misc/dos_fs.c]
Remove maximum open dosdirent limit (fixing the winfile.exe
problem) by using telldir()/seekdir().
Fri Jun 23 13:42:25 1995 Hans de Graaff (graaff@twi72.twi.tudelft.nl)
* [misc/profile.c]
Fixed problem parsing empty lines within sections in .ini files.
1995-07-06 17:18:27 +00:00
|
|
|
|
2000-03-15 19:57:20 +00:00
|
|
|
#include <assert.h>
|
2003-09-05 23:08:26 +00:00
|
|
|
#include <stdarg.h>
|
|
|
|
|
2017-12-05 12:21:22 +00:00
|
|
|
#define NONAMELESSUNION
|
|
|
|
#define NONAMELESSSTRUCT
|
2005-11-28 16:32:54 +00:00
|
|
|
#include "ntstatus.h"
|
|
|
|
#define WIN32_NO_STATUS
|
2004-06-04 00:59:16 +00:00
|
|
|
#define WIN32_LEAN_AND_MEAN
|
1999-03-14 16:35:05 +00:00
|
|
|
#include "windef.h"
|
2000-03-08 16:44:54 +00:00
|
|
|
#include "winbase.h"
|
2004-06-04 00:59:16 +00:00
|
|
|
#include "winver.h"
|
2005-11-28 16:32:54 +00:00
|
|
|
#include "winternl.h"
|
2004-06-04 00:59:16 +00:00
|
|
|
#include "dbghelp.h"
|
|
|
|
#include "cvconst.h"
|
2004-08-22 21:38:46 +00:00
|
|
|
#include "objbase.h"
|
2004-06-04 00:59:16 +00:00
|
|
|
#include "oaidl.h"
|
2010-04-12 19:18:31 +00:00
|
|
|
#include <wine/list.h>
|
1996-12-22 18:27:48 +00:00
|
|
|
|
2022-01-31 13:14:11 +00:00
|
|
|
#define ADDRSIZE ((int)(dbg_curr_process ? dbg_curr_process->be_cpu->pointer_size : sizeof(void*)))
|
2009-12-12 11:19:29 +00:00
|
|
|
#define ADDRWIDTH (ADDRSIZE * 2)
|
|
|
|
|
2014-02-07 21:42:49 +00:00
|
|
|
/* the debugger uses these exceptions for its internal use */
|
2004-06-04 00:59:16 +00:00
|
|
|
#define DEBUG_STATUS_OFFSET 0x80003000
|
|
|
|
#define DEBUG_STATUS_INTERNAL_ERROR (DEBUG_STATUS_OFFSET+0) /* something went wrong */
|
|
|
|
#define DEBUG_STATUS_NO_SYMBOL (DEBUG_STATUS_OFFSET+1) /* no symbol found in lookup */
|
|
|
|
#define DEBUG_STATUS_DIV_BY_ZERO (DEBUG_STATUS_OFFSET+2)
|
|
|
|
#define DEBUG_STATUS_BAD_TYPE (DEBUG_STATUS_OFFSET+3) /* no type found, when type was expected */
|
|
|
|
#define DEBUG_STATUS_NO_FIELD (DEBUG_STATUS_OFFSET+4) /* when dereferencing a struct, the field was not found */
|
|
|
|
#define DEBUG_STATUS_ABORT (DEBUG_STATUS_OFFSET+5) /* user aborted on going action */
|
|
|
|
#define DEBUG_STATUS_CANT_DEREF (DEBUG_STATUS_OFFSET+6) /* either not deref:able, or index out of bounds */
|
|
|
|
#define DEBUG_STATUS_NOT_AN_INTEGER (DEBUG_STATUS_OFFSET+7) /* requiring an integral value */
|
Release 970112
Sat Jan 11 18:17:59 1997 Alexandre Julliard <julliard@lrc.epfl.ch>
* [controls/menu.c]
Updated to new Win32 types.
* [controls/listbox.c]
Fixed Winfile extended selection bug.
* [files/directory.c]
Changed DIR_SearchPath to return both long and short file names.
* [files/dos_fs.c]
Implemented VFAT ioctl to retrieve the original short filenames
from a VFAT filesystem (Linux only for now).
Replaced DOSFS_GetUnixFileName()/DOSFS_GetDosTrueName() by
DOS_GetFullName().
Properly implemented GetShortPathName() and GetFullPathName().
Made all functions re-entrant.
* [files/file.c] [misc/main.c]
Replaced -allowreadonly option by -failreadonly. The default is
now to report success when opening a read-only file for writing.
* [objects/metafile.c]
Fixed bug in DIB bitmaps pointer calculation.
* [scheduler/process.c]
Implemented environment strings and Get/SetStdHandle with process
environment block.
* [tools/build.c]
Rewrote BuildContext32() to avoid instructions that may not be
supported by all assemblers.
Fri Jan 10 17:11:09 1997 David Faure <david.faure@ifhamy.insa-lyon.fr>
* [windows/event.c]
Created table keyc2vkey, which associate a vkey(+extended bit) to
any keycode. Changed EVENT_event_to_vkey to use this table to
return the correct vkey. Changed EVENT_ToAscii to get the keycode
from this table too. Assigned OEM specific vkeys arbitrarily.
Fri Jan 10 09:26:17 1997 John Harvey <john@division.co.uk>
* [misc/winsock.c] [misc/winsoc_async.c]
Fixed svr4 header files.
Changed bzero() to memset().
* [tools/fnt2bdf.c]
Removed bcopy() and used memcpy() instead.
* [debugger/msc.c]
Include string.h instead of strings.h
* [debugger/stabs.c]
Include string.h instead of strings.h.
Define __ELF__ for svr4 systems.
* [loader/signal.c]
Use wait() instead of wait4() which doesnt exist on Unixware.
* [memory/global.c]
Use sysconf() instead of getpagesize() for svr4 systems.
Thu Jan 9 21:07:20 1997 Robert Pouliot <krynos@clic.net>
* [Make.rules.in] [Makefile.in] [make_os2.sh] [rc/Makefile.in]
[tools/Makefile.in] [documentation/wine_os2.txt]
Patches for OS/2 support. Note that it doesn't compile yet.
Tue Jan 7 20:03:53 1997 Eric Youngdale <eric@sub2304.jic.com>
* [debugger/*]
Many more debugger improvements (see debugger/README for details).
Tue Jan 7 15:12:21 1997 Marcus Meissner <msmeissn@cip.informatik.uni-erlangen.de>
* [windows/graphics.c] [objects/text.c] [graphics/x11drv/*]
[graphics/metafiledrv/*]
Moved some device dependent code into the resp. subdirs.
* [include/gdi.h] [include/metafiledrv.h] [include/x11drv.h]
Prototypes added,
DC_FUNCTIONS: GetPixel added, some unnecessary functions removed.
* [objects/region.c]
CreatePolyPolygonRgn32 added.
* [files/dos_fs.c]
QueryDosDevice added.
* [misc/lstr.c]
FormatMessage: broken heap management fixed.
* [scheduler/process.c] [scheduler/thread.c]
Get/SetThreadPriority/PriorityClass added.
Mon Jan 6 21:55:30 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
* [misc/keyboard.c]
ToAscii : Use EVENT_ToAscii instead.
* [windows/event.c]
keypad_key : Do not convert XK_Mode_switch to VK_MENU; recognize
keypad cursor keys.
EVENT_event_to_vkey : New function, to transform a X keycode
into a MSwin vkey + extended bit.
EVENT_ToAscii : New function, to transform a vkey + extended bit
(+ key state table) into ascii char(s), using XLookupString, and
recognizing dead chars.
EVENT_key : Transform AltGr into Ctrl+Alt sequence; call
EVENT_event_to_vkey for keycode to vkey conversion; fixed
previous, context and extended bits.
* [windows/keyboard.c]
Include stddebug.h, to get -debugmsg messages.
GetKeyState : Handle VK_MBUTTON case.
GetKeyboardState, SetKeyboardState : Debugging messages added.
* [windows/message.c]
TranslateMessage : Handle dead chars.
Mon Jan 6 20:10:11 1997 Dominik Strasser <bm424953@muenchen.org>
* [if1632/crtdll.spec] [misc/crtdll.c]
C++ functions new/delete/set_new_handler implemented.
Mon Jan 6 15:48:15 1997 Frans van Dorsselaer <dorssel@rulhmpc49.LeidenUniv.nl>
* [controls/edit.c] [include/windows.h]
Moved the edit control to 32 bits.
Included new (win95) message definitions in windows.h
Implemented EM_SCROLLCARET, EM_SETMARGINS, EM_GETMARGINS,
EM_GETLIMITTEXT, EM_POSFROMCHAR, EM_CHARFROMPOS.
Broke EM_SETWORDBREAKPROC (internal wordwrap still works).
Fixed some bugs, introduced a couple of others.
Text buffer is now initially in 32-bit heap.
* [controls/EDIT.TODO] [controls/combo.c] [controls/widgets.c]
[if1632/wprocs.spec] [library/miscstubs.c] [windows/defdlg.c]
[misc/commdlg.c]
Updated to work with 32-bit edit control.
Sat Jan 4 22:07:27 1997 O.Flebbe <O.Flebbe@science-computing.uni-tuebingen.de>
* [loader/pe_image.c]
Use mmap rather then malloc. Better workaround for clean
segments.
1997-01-12 18:32:19 +00:00
|
|
|
|
|
|
|
/*
|
2004-06-04 00:59:16 +00:00
|
|
|
* Return values for symbol_get_function_line_status. Used to determine
|
Release 970112
Sat Jan 11 18:17:59 1997 Alexandre Julliard <julliard@lrc.epfl.ch>
* [controls/menu.c]
Updated to new Win32 types.
* [controls/listbox.c]
Fixed Winfile extended selection bug.
* [files/directory.c]
Changed DIR_SearchPath to return both long and short file names.
* [files/dos_fs.c]
Implemented VFAT ioctl to retrieve the original short filenames
from a VFAT filesystem (Linux only for now).
Replaced DOSFS_GetUnixFileName()/DOSFS_GetDosTrueName() by
DOS_GetFullName().
Properly implemented GetShortPathName() and GetFullPathName().
Made all functions re-entrant.
* [files/file.c] [misc/main.c]
Replaced -allowreadonly option by -failreadonly. The default is
now to report success when opening a read-only file for writing.
* [objects/metafile.c]
Fixed bug in DIB bitmaps pointer calculation.
* [scheduler/process.c]
Implemented environment strings and Get/SetStdHandle with process
environment block.
* [tools/build.c]
Rewrote BuildContext32() to avoid instructions that may not be
supported by all assemblers.
Fri Jan 10 17:11:09 1997 David Faure <david.faure@ifhamy.insa-lyon.fr>
* [windows/event.c]
Created table keyc2vkey, which associate a vkey(+extended bit) to
any keycode. Changed EVENT_event_to_vkey to use this table to
return the correct vkey. Changed EVENT_ToAscii to get the keycode
from this table too. Assigned OEM specific vkeys arbitrarily.
Fri Jan 10 09:26:17 1997 John Harvey <john@division.co.uk>
* [misc/winsock.c] [misc/winsoc_async.c]
Fixed svr4 header files.
Changed bzero() to memset().
* [tools/fnt2bdf.c]
Removed bcopy() and used memcpy() instead.
* [debugger/msc.c]
Include string.h instead of strings.h
* [debugger/stabs.c]
Include string.h instead of strings.h.
Define __ELF__ for svr4 systems.
* [loader/signal.c]
Use wait() instead of wait4() which doesnt exist on Unixware.
* [memory/global.c]
Use sysconf() instead of getpagesize() for svr4 systems.
Thu Jan 9 21:07:20 1997 Robert Pouliot <krynos@clic.net>
* [Make.rules.in] [Makefile.in] [make_os2.sh] [rc/Makefile.in]
[tools/Makefile.in] [documentation/wine_os2.txt]
Patches for OS/2 support. Note that it doesn't compile yet.
Tue Jan 7 20:03:53 1997 Eric Youngdale <eric@sub2304.jic.com>
* [debugger/*]
Many more debugger improvements (see debugger/README for details).
Tue Jan 7 15:12:21 1997 Marcus Meissner <msmeissn@cip.informatik.uni-erlangen.de>
* [windows/graphics.c] [objects/text.c] [graphics/x11drv/*]
[graphics/metafiledrv/*]
Moved some device dependent code into the resp. subdirs.
* [include/gdi.h] [include/metafiledrv.h] [include/x11drv.h]
Prototypes added,
DC_FUNCTIONS: GetPixel added, some unnecessary functions removed.
* [objects/region.c]
CreatePolyPolygonRgn32 added.
* [files/dos_fs.c]
QueryDosDevice added.
* [misc/lstr.c]
FormatMessage: broken heap management fixed.
* [scheduler/process.c] [scheduler/thread.c]
Get/SetThreadPriority/PriorityClass added.
Mon Jan 6 21:55:30 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
* [misc/keyboard.c]
ToAscii : Use EVENT_ToAscii instead.
* [windows/event.c]
keypad_key : Do not convert XK_Mode_switch to VK_MENU; recognize
keypad cursor keys.
EVENT_event_to_vkey : New function, to transform a X keycode
into a MSwin vkey + extended bit.
EVENT_ToAscii : New function, to transform a vkey + extended bit
(+ key state table) into ascii char(s), using XLookupString, and
recognizing dead chars.
EVENT_key : Transform AltGr into Ctrl+Alt sequence; call
EVENT_event_to_vkey for keycode to vkey conversion; fixed
previous, context and extended bits.
* [windows/keyboard.c]
Include stddebug.h, to get -debugmsg messages.
GetKeyState : Handle VK_MBUTTON case.
GetKeyboardState, SetKeyboardState : Debugging messages added.
* [windows/message.c]
TranslateMessage : Handle dead chars.
Mon Jan 6 20:10:11 1997 Dominik Strasser <bm424953@muenchen.org>
* [if1632/crtdll.spec] [misc/crtdll.c]
C++ functions new/delete/set_new_handler implemented.
Mon Jan 6 15:48:15 1997 Frans van Dorsselaer <dorssel@rulhmpc49.LeidenUniv.nl>
* [controls/edit.c] [include/windows.h]
Moved the edit control to 32 bits.
Included new (win95) message definitions in windows.h
Implemented EM_SCROLLCARET, EM_SETMARGINS, EM_GETMARGINS,
EM_GETLIMITTEXT, EM_POSFROMCHAR, EM_CHARFROMPOS.
Broke EM_SETWORDBREAKPROC (internal wordwrap still works).
Fixed some bugs, introduced a couple of others.
Text buffer is now initially in 32-bit heap.
* [controls/EDIT.TODO] [controls/combo.c] [controls/widgets.c]
[if1632/wprocs.spec] [library/miscstubs.c] [windows/defdlg.c]
[misc/commdlg.c]
Updated to work with 32-bit edit control.
Sat Jan 4 22:07:27 1997 O.Flebbe <O.Flebbe@science-computing.uni-tuebingen.de>
* [loader/pe_image.c]
Use mmap rather then malloc. Better workaround for clean
segments.
1997-01-12 18:32:19 +00:00
|
|
|
* what to do when the 'step' command is given.
|
|
|
|
*/
|
2004-06-04 00:59:16 +00:00
|
|
|
enum dbg_line_status
|
Release 970112
Sat Jan 11 18:17:59 1997 Alexandre Julliard <julliard@lrc.epfl.ch>
* [controls/menu.c]
Updated to new Win32 types.
* [controls/listbox.c]
Fixed Winfile extended selection bug.
* [files/directory.c]
Changed DIR_SearchPath to return both long and short file names.
* [files/dos_fs.c]
Implemented VFAT ioctl to retrieve the original short filenames
from a VFAT filesystem (Linux only for now).
Replaced DOSFS_GetUnixFileName()/DOSFS_GetDosTrueName() by
DOS_GetFullName().
Properly implemented GetShortPathName() and GetFullPathName().
Made all functions re-entrant.
* [files/file.c] [misc/main.c]
Replaced -allowreadonly option by -failreadonly. The default is
now to report success when opening a read-only file for writing.
* [objects/metafile.c]
Fixed bug in DIB bitmaps pointer calculation.
* [scheduler/process.c]
Implemented environment strings and Get/SetStdHandle with process
environment block.
* [tools/build.c]
Rewrote BuildContext32() to avoid instructions that may not be
supported by all assemblers.
Fri Jan 10 17:11:09 1997 David Faure <david.faure@ifhamy.insa-lyon.fr>
* [windows/event.c]
Created table keyc2vkey, which associate a vkey(+extended bit) to
any keycode. Changed EVENT_event_to_vkey to use this table to
return the correct vkey. Changed EVENT_ToAscii to get the keycode
from this table too. Assigned OEM specific vkeys arbitrarily.
Fri Jan 10 09:26:17 1997 John Harvey <john@division.co.uk>
* [misc/winsock.c] [misc/winsoc_async.c]
Fixed svr4 header files.
Changed bzero() to memset().
* [tools/fnt2bdf.c]
Removed bcopy() and used memcpy() instead.
* [debugger/msc.c]
Include string.h instead of strings.h
* [debugger/stabs.c]
Include string.h instead of strings.h.
Define __ELF__ for svr4 systems.
* [loader/signal.c]
Use wait() instead of wait4() which doesnt exist on Unixware.
* [memory/global.c]
Use sysconf() instead of getpagesize() for svr4 systems.
Thu Jan 9 21:07:20 1997 Robert Pouliot <krynos@clic.net>
* [Make.rules.in] [Makefile.in] [make_os2.sh] [rc/Makefile.in]
[tools/Makefile.in] [documentation/wine_os2.txt]
Patches for OS/2 support. Note that it doesn't compile yet.
Tue Jan 7 20:03:53 1997 Eric Youngdale <eric@sub2304.jic.com>
* [debugger/*]
Many more debugger improvements (see debugger/README for details).
Tue Jan 7 15:12:21 1997 Marcus Meissner <msmeissn@cip.informatik.uni-erlangen.de>
* [windows/graphics.c] [objects/text.c] [graphics/x11drv/*]
[graphics/metafiledrv/*]
Moved some device dependent code into the resp. subdirs.
* [include/gdi.h] [include/metafiledrv.h] [include/x11drv.h]
Prototypes added,
DC_FUNCTIONS: GetPixel added, some unnecessary functions removed.
* [objects/region.c]
CreatePolyPolygonRgn32 added.
* [files/dos_fs.c]
QueryDosDevice added.
* [misc/lstr.c]
FormatMessage: broken heap management fixed.
* [scheduler/process.c] [scheduler/thread.c]
Get/SetThreadPriority/PriorityClass added.
Mon Jan 6 21:55:30 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
* [misc/keyboard.c]
ToAscii : Use EVENT_ToAscii instead.
* [windows/event.c]
keypad_key : Do not convert XK_Mode_switch to VK_MENU; recognize
keypad cursor keys.
EVENT_event_to_vkey : New function, to transform a X keycode
into a MSwin vkey + extended bit.
EVENT_ToAscii : New function, to transform a vkey + extended bit
(+ key state table) into ascii char(s), using XLookupString, and
recognizing dead chars.
EVENT_key : Transform AltGr into Ctrl+Alt sequence; call
EVENT_event_to_vkey for keycode to vkey conversion; fixed
previous, context and extended bits.
* [windows/keyboard.c]
Include stddebug.h, to get -debugmsg messages.
GetKeyState : Handle VK_MBUTTON case.
GetKeyboardState, SetKeyboardState : Debugging messages added.
* [windows/message.c]
TranslateMessage : Handle dead chars.
Mon Jan 6 20:10:11 1997 Dominik Strasser <bm424953@muenchen.org>
* [if1632/crtdll.spec] [misc/crtdll.c]
C++ functions new/delete/set_new_handler implemented.
Mon Jan 6 15:48:15 1997 Frans van Dorsselaer <dorssel@rulhmpc49.LeidenUniv.nl>
* [controls/edit.c] [include/windows.h]
Moved the edit control to 32 bits.
Included new (win95) message definitions in windows.h
Implemented EM_SCROLLCARET, EM_SETMARGINS, EM_GETMARGINS,
EM_GETLIMITTEXT, EM_POSFROMCHAR, EM_CHARFROMPOS.
Broke EM_SETWORDBREAKPROC (internal wordwrap still works).
Fixed some bugs, introduced a couple of others.
Text buffer is now initially in 32-bit heap.
* [controls/EDIT.TODO] [controls/combo.c] [controls/widgets.c]
[if1632/wprocs.spec] [library/miscstubs.c] [windows/defdlg.c]
[misc/commdlg.c]
Updated to work with 32-bit edit control.
Sat Jan 4 22:07:27 1997 O.Flebbe <O.Flebbe@science-computing.uni-tuebingen.de>
* [loader/pe_image.c]
Use mmap rather then malloc. Better workaround for clean
segments.
1997-01-12 18:32:19 +00:00
|
|
|
{
|
2004-06-04 00:59:16 +00:00
|
|
|
dbg_no_line_info,
|
|
|
|
dbg_not_on_a_line_number,
|
|
|
|
dbg_on_a_line_number,
|
|
|
|
dbg_in_a_thunk,
|
Release 970112
Sat Jan 11 18:17:59 1997 Alexandre Julliard <julliard@lrc.epfl.ch>
* [controls/menu.c]
Updated to new Win32 types.
* [controls/listbox.c]
Fixed Winfile extended selection bug.
* [files/directory.c]
Changed DIR_SearchPath to return both long and short file names.
* [files/dos_fs.c]
Implemented VFAT ioctl to retrieve the original short filenames
from a VFAT filesystem (Linux only for now).
Replaced DOSFS_GetUnixFileName()/DOSFS_GetDosTrueName() by
DOS_GetFullName().
Properly implemented GetShortPathName() and GetFullPathName().
Made all functions re-entrant.
* [files/file.c] [misc/main.c]
Replaced -allowreadonly option by -failreadonly. The default is
now to report success when opening a read-only file for writing.
* [objects/metafile.c]
Fixed bug in DIB bitmaps pointer calculation.
* [scheduler/process.c]
Implemented environment strings and Get/SetStdHandle with process
environment block.
* [tools/build.c]
Rewrote BuildContext32() to avoid instructions that may not be
supported by all assemblers.
Fri Jan 10 17:11:09 1997 David Faure <david.faure@ifhamy.insa-lyon.fr>
* [windows/event.c]
Created table keyc2vkey, which associate a vkey(+extended bit) to
any keycode. Changed EVENT_event_to_vkey to use this table to
return the correct vkey. Changed EVENT_ToAscii to get the keycode
from this table too. Assigned OEM specific vkeys arbitrarily.
Fri Jan 10 09:26:17 1997 John Harvey <john@division.co.uk>
* [misc/winsock.c] [misc/winsoc_async.c]
Fixed svr4 header files.
Changed bzero() to memset().
* [tools/fnt2bdf.c]
Removed bcopy() and used memcpy() instead.
* [debugger/msc.c]
Include string.h instead of strings.h
* [debugger/stabs.c]
Include string.h instead of strings.h.
Define __ELF__ for svr4 systems.
* [loader/signal.c]
Use wait() instead of wait4() which doesnt exist on Unixware.
* [memory/global.c]
Use sysconf() instead of getpagesize() for svr4 systems.
Thu Jan 9 21:07:20 1997 Robert Pouliot <krynos@clic.net>
* [Make.rules.in] [Makefile.in] [make_os2.sh] [rc/Makefile.in]
[tools/Makefile.in] [documentation/wine_os2.txt]
Patches for OS/2 support. Note that it doesn't compile yet.
Tue Jan 7 20:03:53 1997 Eric Youngdale <eric@sub2304.jic.com>
* [debugger/*]
Many more debugger improvements (see debugger/README for details).
Tue Jan 7 15:12:21 1997 Marcus Meissner <msmeissn@cip.informatik.uni-erlangen.de>
* [windows/graphics.c] [objects/text.c] [graphics/x11drv/*]
[graphics/metafiledrv/*]
Moved some device dependent code into the resp. subdirs.
* [include/gdi.h] [include/metafiledrv.h] [include/x11drv.h]
Prototypes added,
DC_FUNCTIONS: GetPixel added, some unnecessary functions removed.
* [objects/region.c]
CreatePolyPolygonRgn32 added.
* [files/dos_fs.c]
QueryDosDevice added.
* [misc/lstr.c]
FormatMessage: broken heap management fixed.
* [scheduler/process.c] [scheduler/thread.c]
Get/SetThreadPriority/PriorityClass added.
Mon Jan 6 21:55:30 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
* [misc/keyboard.c]
ToAscii : Use EVENT_ToAscii instead.
* [windows/event.c]
keypad_key : Do not convert XK_Mode_switch to VK_MENU; recognize
keypad cursor keys.
EVENT_event_to_vkey : New function, to transform a X keycode
into a MSwin vkey + extended bit.
EVENT_ToAscii : New function, to transform a vkey + extended bit
(+ key state table) into ascii char(s), using XLookupString, and
recognizing dead chars.
EVENT_key : Transform AltGr into Ctrl+Alt sequence; call
EVENT_event_to_vkey for keycode to vkey conversion; fixed
previous, context and extended bits.
* [windows/keyboard.c]
Include stddebug.h, to get -debugmsg messages.
GetKeyState : Handle VK_MBUTTON case.
GetKeyboardState, SetKeyboardState : Debugging messages added.
* [windows/message.c]
TranslateMessage : Handle dead chars.
Mon Jan 6 20:10:11 1997 Dominik Strasser <bm424953@muenchen.org>
* [if1632/crtdll.spec] [misc/crtdll.c]
C++ functions new/delete/set_new_handler implemented.
Mon Jan 6 15:48:15 1997 Frans van Dorsselaer <dorssel@rulhmpc49.LeidenUniv.nl>
* [controls/edit.c] [include/windows.h]
Moved the edit control to 32 bits.
Included new (win95) message definitions in windows.h
Implemented EM_SCROLLCARET, EM_SETMARGINS, EM_GETMARGINS,
EM_GETLIMITTEXT, EM_POSFROMCHAR, EM_CHARFROMPOS.
Broke EM_SETWORDBREAKPROC (internal wordwrap still works).
Fixed some bugs, introduced a couple of others.
Text buffer is now initially in 32-bit heap.
* [controls/EDIT.TODO] [controls/combo.c] [controls/widgets.c]
[if1632/wprocs.spec] [library/miscstubs.c] [windows/defdlg.c]
[misc/commdlg.c]
Updated to work with 32-bit edit control.
Sat Jan 4 22:07:27 1997 O.Flebbe <O.Flebbe@science-computing.uni-tuebingen.de>
* [loader/pe_image.c]
Use mmap rather then malloc. Better workaround for clean
segments.
1997-01-12 18:32:19 +00:00
|
|
|
};
|
|
|
|
|
2004-06-04 00:59:16 +00:00
|
|
|
enum dbg_internal_types
|
Release 970112
Sat Jan 11 18:17:59 1997 Alexandre Julliard <julliard@lrc.epfl.ch>
* [controls/menu.c]
Updated to new Win32 types.
* [controls/listbox.c]
Fixed Winfile extended selection bug.
* [files/directory.c]
Changed DIR_SearchPath to return both long and short file names.
* [files/dos_fs.c]
Implemented VFAT ioctl to retrieve the original short filenames
from a VFAT filesystem (Linux only for now).
Replaced DOSFS_GetUnixFileName()/DOSFS_GetDosTrueName() by
DOS_GetFullName().
Properly implemented GetShortPathName() and GetFullPathName().
Made all functions re-entrant.
* [files/file.c] [misc/main.c]
Replaced -allowreadonly option by -failreadonly. The default is
now to report success when opening a read-only file for writing.
* [objects/metafile.c]
Fixed bug in DIB bitmaps pointer calculation.
* [scheduler/process.c]
Implemented environment strings and Get/SetStdHandle with process
environment block.
* [tools/build.c]
Rewrote BuildContext32() to avoid instructions that may not be
supported by all assemblers.
Fri Jan 10 17:11:09 1997 David Faure <david.faure@ifhamy.insa-lyon.fr>
* [windows/event.c]
Created table keyc2vkey, which associate a vkey(+extended bit) to
any keycode. Changed EVENT_event_to_vkey to use this table to
return the correct vkey. Changed EVENT_ToAscii to get the keycode
from this table too. Assigned OEM specific vkeys arbitrarily.
Fri Jan 10 09:26:17 1997 John Harvey <john@division.co.uk>
* [misc/winsock.c] [misc/winsoc_async.c]
Fixed svr4 header files.
Changed bzero() to memset().
* [tools/fnt2bdf.c]
Removed bcopy() and used memcpy() instead.
* [debugger/msc.c]
Include string.h instead of strings.h
* [debugger/stabs.c]
Include string.h instead of strings.h.
Define __ELF__ for svr4 systems.
* [loader/signal.c]
Use wait() instead of wait4() which doesnt exist on Unixware.
* [memory/global.c]
Use sysconf() instead of getpagesize() for svr4 systems.
Thu Jan 9 21:07:20 1997 Robert Pouliot <krynos@clic.net>
* [Make.rules.in] [Makefile.in] [make_os2.sh] [rc/Makefile.in]
[tools/Makefile.in] [documentation/wine_os2.txt]
Patches for OS/2 support. Note that it doesn't compile yet.
Tue Jan 7 20:03:53 1997 Eric Youngdale <eric@sub2304.jic.com>
* [debugger/*]
Many more debugger improvements (see debugger/README for details).
Tue Jan 7 15:12:21 1997 Marcus Meissner <msmeissn@cip.informatik.uni-erlangen.de>
* [windows/graphics.c] [objects/text.c] [graphics/x11drv/*]
[graphics/metafiledrv/*]
Moved some device dependent code into the resp. subdirs.
* [include/gdi.h] [include/metafiledrv.h] [include/x11drv.h]
Prototypes added,
DC_FUNCTIONS: GetPixel added, some unnecessary functions removed.
* [objects/region.c]
CreatePolyPolygonRgn32 added.
* [files/dos_fs.c]
QueryDosDevice added.
* [misc/lstr.c]
FormatMessage: broken heap management fixed.
* [scheduler/process.c] [scheduler/thread.c]
Get/SetThreadPriority/PriorityClass added.
Mon Jan 6 21:55:30 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
* [misc/keyboard.c]
ToAscii : Use EVENT_ToAscii instead.
* [windows/event.c]
keypad_key : Do not convert XK_Mode_switch to VK_MENU; recognize
keypad cursor keys.
EVENT_event_to_vkey : New function, to transform a X keycode
into a MSwin vkey + extended bit.
EVENT_ToAscii : New function, to transform a vkey + extended bit
(+ key state table) into ascii char(s), using XLookupString, and
recognizing dead chars.
EVENT_key : Transform AltGr into Ctrl+Alt sequence; call
EVENT_event_to_vkey for keycode to vkey conversion; fixed
previous, context and extended bits.
* [windows/keyboard.c]
Include stddebug.h, to get -debugmsg messages.
GetKeyState : Handle VK_MBUTTON case.
GetKeyboardState, SetKeyboardState : Debugging messages added.
* [windows/message.c]
TranslateMessage : Handle dead chars.
Mon Jan 6 20:10:11 1997 Dominik Strasser <bm424953@muenchen.org>
* [if1632/crtdll.spec] [misc/crtdll.c]
C++ functions new/delete/set_new_handler implemented.
Mon Jan 6 15:48:15 1997 Frans van Dorsselaer <dorssel@rulhmpc49.LeidenUniv.nl>
* [controls/edit.c] [include/windows.h]
Moved the edit control to 32 bits.
Included new (win95) message definitions in windows.h
Implemented EM_SCROLLCARET, EM_SETMARGINS, EM_GETMARGINS,
EM_GETLIMITTEXT, EM_POSFROMCHAR, EM_CHARFROMPOS.
Broke EM_SETWORDBREAKPROC (internal wordwrap still works).
Fixed some bugs, introduced a couple of others.
Text buffer is now initially in 32-bit heap.
* [controls/EDIT.TODO] [controls/combo.c] [controls/widgets.c]
[if1632/wprocs.spec] [library/miscstubs.c] [windows/defdlg.c]
[misc/commdlg.c]
Updated to work with 32-bit edit control.
Sat Jan 4 22:07:27 1997 O.Flebbe <O.Flebbe@science-computing.uni-tuebingen.de>
* [loader/pe_image.c]
Use mmap rather then malloc. Better workaround for clean
segments.
1997-01-12 18:32:19 +00:00
|
|
|
{
|
2022-07-29 08:28:54 +00:00
|
|
|
/* types that we synthetize inside the debugger */
|
|
|
|
dbg_itype_synthetized = 0xf0000000,
|
2022-05-20 15:03:27 +00:00
|
|
|
/* order here must match types.c:basic_types_details table */
|
2004-06-04 00:59:16 +00:00
|
|
|
dbg_itype_first = 0xffffff00,
|
2022-05-20 15:03:27 +00:00
|
|
|
dbg_itype_void = dbg_itype_first,
|
|
|
|
dbg_itype_bool,
|
2022-05-20 15:03:27 +00:00
|
|
|
dbg_itype_char,
|
|
|
|
dbg_itype_wchar,
|
2022-05-20 15:03:27 +00:00
|
|
|
dbg_itype_char8,
|
|
|
|
dbg_itype_char16,
|
|
|
|
dbg_itype_char32,
|
2022-05-20 15:03:27 +00:00
|
|
|
|
|
|
|
dbg_itype_unsigned_int8,
|
|
|
|
dbg_itype_unsigned_int16,
|
|
|
|
dbg_itype_unsigned_int32,
|
|
|
|
dbg_itype_unsigned_int64,
|
|
|
|
dbg_itype_unsigned_int128,
|
|
|
|
dbg_itype_unsigned_long32,
|
|
|
|
dbg_itype_unsigned_long64,
|
2022-05-20 15:03:27 +00:00
|
|
|
|
|
|
|
dbg_itype_signed_int8,
|
|
|
|
dbg_itype_signed_int16,
|
|
|
|
dbg_itype_signed_int32,
|
|
|
|
dbg_itype_signed_int64,
|
|
|
|
dbg_itype_signed_int128,
|
|
|
|
dbg_itype_signed_long32,
|
2022-05-20 15:03:27 +00:00
|
|
|
dbg_itype_signed_long64,
|
2021-12-07 17:45:39 +00:00
|
|
|
|
2022-05-20 15:03:27 +00:00
|
|
|
dbg_itype_short_real, /* aka float */
|
|
|
|
dbg_itype_real, /* aka double */
|
|
|
|
dbg_itype_long_real, /* aka long double */
|
|
|
|
|
|
|
|
dbg_itype_last,
|
|
|
|
|
2021-12-07 17:45:39 +00:00
|
|
|
/* they represent the dbg_lg(u)int_t types */
|
|
|
|
dbg_itype_lgint,
|
|
|
|
dbg_itype_lguint,
|
|
|
|
|
2004-06-04 00:59:16 +00:00
|
|
|
dbg_itype_astring,
|
|
|
|
dbg_itype_ustring,
|
2006-01-23 15:26:40 +00:00
|
|
|
dbg_itype_segptr, /* hack for segmented pointers */
|
2017-06-26 19:48:15 +00:00
|
|
|
dbg_itype_m128a, /* 128-bit (XMM) registers */
|
2004-06-04 00:59:16 +00:00
|
|
|
dbg_itype_none = 0xffffffff
|
Release 970112
Sat Jan 11 18:17:59 1997 Alexandre Julliard <julliard@lrc.epfl.ch>
* [controls/menu.c]
Updated to new Win32 types.
* [controls/listbox.c]
Fixed Winfile extended selection bug.
* [files/directory.c]
Changed DIR_SearchPath to return both long and short file names.
* [files/dos_fs.c]
Implemented VFAT ioctl to retrieve the original short filenames
from a VFAT filesystem (Linux only for now).
Replaced DOSFS_GetUnixFileName()/DOSFS_GetDosTrueName() by
DOS_GetFullName().
Properly implemented GetShortPathName() and GetFullPathName().
Made all functions re-entrant.
* [files/file.c] [misc/main.c]
Replaced -allowreadonly option by -failreadonly. The default is
now to report success when opening a read-only file for writing.
* [objects/metafile.c]
Fixed bug in DIB bitmaps pointer calculation.
* [scheduler/process.c]
Implemented environment strings and Get/SetStdHandle with process
environment block.
* [tools/build.c]
Rewrote BuildContext32() to avoid instructions that may not be
supported by all assemblers.
Fri Jan 10 17:11:09 1997 David Faure <david.faure@ifhamy.insa-lyon.fr>
* [windows/event.c]
Created table keyc2vkey, which associate a vkey(+extended bit) to
any keycode. Changed EVENT_event_to_vkey to use this table to
return the correct vkey. Changed EVENT_ToAscii to get the keycode
from this table too. Assigned OEM specific vkeys arbitrarily.
Fri Jan 10 09:26:17 1997 John Harvey <john@division.co.uk>
* [misc/winsock.c] [misc/winsoc_async.c]
Fixed svr4 header files.
Changed bzero() to memset().
* [tools/fnt2bdf.c]
Removed bcopy() and used memcpy() instead.
* [debugger/msc.c]
Include string.h instead of strings.h
* [debugger/stabs.c]
Include string.h instead of strings.h.
Define __ELF__ for svr4 systems.
* [loader/signal.c]
Use wait() instead of wait4() which doesnt exist on Unixware.
* [memory/global.c]
Use sysconf() instead of getpagesize() for svr4 systems.
Thu Jan 9 21:07:20 1997 Robert Pouliot <krynos@clic.net>
* [Make.rules.in] [Makefile.in] [make_os2.sh] [rc/Makefile.in]
[tools/Makefile.in] [documentation/wine_os2.txt]
Patches for OS/2 support. Note that it doesn't compile yet.
Tue Jan 7 20:03:53 1997 Eric Youngdale <eric@sub2304.jic.com>
* [debugger/*]
Many more debugger improvements (see debugger/README for details).
Tue Jan 7 15:12:21 1997 Marcus Meissner <msmeissn@cip.informatik.uni-erlangen.de>
* [windows/graphics.c] [objects/text.c] [graphics/x11drv/*]
[graphics/metafiledrv/*]
Moved some device dependent code into the resp. subdirs.
* [include/gdi.h] [include/metafiledrv.h] [include/x11drv.h]
Prototypes added,
DC_FUNCTIONS: GetPixel added, some unnecessary functions removed.
* [objects/region.c]
CreatePolyPolygonRgn32 added.
* [files/dos_fs.c]
QueryDosDevice added.
* [misc/lstr.c]
FormatMessage: broken heap management fixed.
* [scheduler/process.c] [scheduler/thread.c]
Get/SetThreadPriority/PriorityClass added.
Mon Jan 6 21:55:30 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
* [misc/keyboard.c]
ToAscii : Use EVENT_ToAscii instead.
* [windows/event.c]
keypad_key : Do not convert XK_Mode_switch to VK_MENU; recognize
keypad cursor keys.
EVENT_event_to_vkey : New function, to transform a X keycode
into a MSwin vkey + extended bit.
EVENT_ToAscii : New function, to transform a vkey + extended bit
(+ key state table) into ascii char(s), using XLookupString, and
recognizing dead chars.
EVENT_key : Transform AltGr into Ctrl+Alt sequence; call
EVENT_event_to_vkey for keycode to vkey conversion; fixed
previous, context and extended bits.
* [windows/keyboard.c]
Include stddebug.h, to get -debugmsg messages.
GetKeyState : Handle VK_MBUTTON case.
GetKeyboardState, SetKeyboardState : Debugging messages added.
* [windows/message.c]
TranslateMessage : Handle dead chars.
Mon Jan 6 20:10:11 1997 Dominik Strasser <bm424953@muenchen.org>
* [if1632/crtdll.spec] [misc/crtdll.c]
C++ functions new/delete/set_new_handler implemented.
Mon Jan 6 15:48:15 1997 Frans van Dorsselaer <dorssel@rulhmpc49.LeidenUniv.nl>
* [controls/edit.c] [include/windows.h]
Moved the edit control to 32 bits.
Included new (win95) message definitions in windows.h
Implemented EM_SCROLLCARET, EM_SETMARGINS, EM_GETMARGINS,
EM_GETLIMITTEXT, EM_POSFROMCHAR, EM_CHARFROMPOS.
Broke EM_SETWORDBREAKPROC (internal wordwrap still works).
Fixed some bugs, introduced a couple of others.
Text buffer is now initially in 32-bit heap.
* [controls/EDIT.TODO] [controls/combo.c] [controls/widgets.c]
[if1632/wprocs.spec] [library/miscstubs.c] [windows/defdlg.c]
[misc/commdlg.c]
Updated to work with 32-bit edit control.
Sat Jan 4 22:07:27 1997 O.Flebbe <O.Flebbe@science-computing.uni-tuebingen.de>
* [loader/pe_image.c]
Use mmap rather then malloc. Better workaround for clean
segments.
1997-01-12 18:32:19 +00:00
|
|
|
};
|
|
|
|
|
2021-12-07 17:45:39 +00:00
|
|
|
/* Largest integers the debugger's compiler can support.
|
|
|
|
* It's large enough to store a pointer (in debuggee or debugger's address space).
|
|
|
|
* It can be smaller than the largest integer(s) of the debuggee.
|
|
|
|
* (eg. 64 bit on PE build of debugger, vs 128 int in ELF build of a library)
|
|
|
|
*/
|
|
|
|
typedef LONG64 dbg_lgint_t;
|
|
|
|
typedef ULONG64 dbg_lguint_t;
|
|
|
|
|
2004-08-22 22:35:36 +00:00
|
|
|
/* type description (in the following order):
|
|
|
|
* - if 'id' is dbg_itype_none (whatever 'module' value), the type isn't known
|
|
|
|
* - if 'module' is 0, it's an internal type (id is one of dbg_itype...)
|
|
|
|
* - if 'module' is non 0, then 'id' is a type ID referring to module (loaded in
|
|
|
|
* dbghelp) which (linear) contains address 'module'.
|
|
|
|
*/
|
|
|
|
struct dbg_type
|
|
|
|
{
|
2021-10-04 12:16:23 +00:00
|
|
|
ULONG id;
|
2009-12-12 11:19:08 +00:00
|
|
|
DWORD_PTR module;
|
2004-08-22 22:35:36 +00:00
|
|
|
};
|
|
|
|
|
2004-06-04 00:59:16 +00:00
|
|
|
struct dbg_lvalue /* structure to hold left-values... */
|
|
|
|
{
|
2021-12-08 13:44:03 +00:00
|
|
|
unsigned in_debuggee : 1, /* 1 = debuggee address space, 0 = debugger address space */
|
|
|
|
bitstart : 8, /* in fact, 7 should be sufficient for underlying 128bit integers */
|
|
|
|
bitlen;
|
2006-07-26 09:57:27 +00:00
|
|
|
ADDRESS64 addr;
|
2004-08-22 22:35:36 +00:00
|
|
|
struct dbg_type type;
|
1996-12-22 18:27:48 +00:00
|
|
|
};
|
|
|
|
|
2021-12-08 13:43:56 +00:00
|
|
|
static inline void init_lvalue(struct dbg_lvalue* lv, BOOL in_debuggee, void* addr)
|
|
|
|
{
|
|
|
|
lv->in_debuggee = !!in_debuggee;
|
2021-12-08 13:44:03 +00:00
|
|
|
lv->bitstart = 0;
|
|
|
|
lv->bitlen = 0;
|
2021-12-08 13:43:56 +00:00
|
|
|
lv->addr.Mode = AddrModeFlat;
|
|
|
|
lv->addr.Offset = (DWORD_PTR)addr;
|
|
|
|
lv->type.module = 0;
|
|
|
|
lv->type.id = dbg_itype_none;
|
|
|
|
}
|
|
|
|
|
2022-05-20 15:03:27 +00:00
|
|
|
static inline void init_lvalue_in_debugger(struct dbg_lvalue* lv, DWORD_PTR module,
|
|
|
|
enum dbg_internal_types it, void* addr)
|
2021-12-08 13:43:56 +00:00
|
|
|
{
|
|
|
|
lv->in_debuggee = 0;
|
2021-12-08 13:44:03 +00:00
|
|
|
lv->bitstart = 0;
|
|
|
|
lv->bitlen = 0;
|
2021-12-08 13:43:56 +00:00
|
|
|
lv->addr.Mode = AddrModeFlat;
|
|
|
|
lv->addr.Offset = (DWORD_PTR)addr;
|
2022-05-20 15:03:27 +00:00
|
|
|
lv->type.module = module;
|
2021-12-08 13:43:56 +00:00
|
|
|
lv->type.id = it;
|
|
|
|
}
|
|
|
|
|
2004-06-04 00:59:16 +00:00
|
|
|
enum dbg_exec_mode
|
2000-03-08 16:44:54 +00:00
|
|
|
{
|
2004-06-04 00:59:16 +00:00
|
|
|
dbg_exec_cont, /* Continue execution */
|
|
|
|
dbg_exec_step_over_line, /* Stepping over a call to next source line */
|
|
|
|
dbg_exec_step_into_line, /* Step to next source line, stepping in if needed */
|
|
|
|
dbg_exec_step_over_insn, /* Stepping over a call */
|
|
|
|
dbg_exec_step_into_insn, /* Single-stepping an instruction */
|
|
|
|
dbg_exec_finish, /* Single-step until we exit current frame */
|
|
|
|
#if 0
|
|
|
|
EXEC_STEP_OVER_TRAMPOLINE, /* Step over trampoline. Requires that we dig the real
|
|
|
|
* return value off the stack and set breakpoint there -
|
|
|
|
* not at the instr just after the call.
|
2000-03-08 16:44:54 +00:00
|
|
|
*/
|
2004-06-04 00:59:16 +00:00
|
|
|
#endif
|
2000-03-08 16:44:54 +00:00
|
|
|
};
|
2000-03-15 19:57:20 +00:00
|
|
|
|
2004-06-04 00:59:16 +00:00
|
|
|
struct dbg_breakpoint
|
2002-04-01 21:03:13 +00:00
|
|
|
{
|
2006-07-26 09:57:27 +00:00
|
|
|
ADDRESS64 addr;
|
2021-10-04 12:16:23 +00:00
|
|
|
unsigned int enabled : 1,
|
2004-06-04 00:59:16 +00:00
|
|
|
xpoint_type : 2,
|
|
|
|
refcount : 13,
|
|
|
|
skipcount : 16;
|
2021-10-04 12:16:23 +00:00
|
|
|
unsigned int info;
|
2004-06-04 00:59:16 +00:00
|
|
|
struct /* only used for watchpoints */
|
|
|
|
{
|
|
|
|
BYTE len : 2;
|
2010-04-06 20:28:49 +00:00
|
|
|
DWORD64 oldval;
|
2004-06-04 00:59:16 +00:00
|
|
|
} w;
|
|
|
|
struct expr* condition;
|
2002-04-01 21:03:13 +00:00
|
|
|
};
|
|
|
|
|
2001-04-09 18:31:47 +00:00
|
|
|
/* Helper structure */
|
|
|
|
typedef struct tagTHREADNAME_INFO
|
|
|
|
{
|
|
|
|
DWORD dwType; /* Must be 0x1000 */
|
2009-12-09 17:14:07 +00:00
|
|
|
LPCSTR szName; /* Pointer to name - limited to 9 bytes (8 characters + terminator) */
|
2001-04-09 18:31:47 +00:00
|
|
|
DWORD dwThreadID; /* Thread ID (-1 = caller thread) */
|
|
|
|
DWORD dwFlags; /* Reserved for future use. Must be zero. */
|
|
|
|
} THREADNAME_INFO;
|
|
|
|
|
2018-06-12 22:53:18 +00:00
|
|
|
typedef union dbg_ctx
|
|
|
|
{
|
|
|
|
CONTEXT ctx;
|
|
|
|
WOW64_CONTEXT x86;
|
|
|
|
} dbg_ctx_t;
|
|
|
|
|
2004-06-04 00:59:16 +00:00
|
|
|
struct dbg_thread
|
|
|
|
{
|
2010-04-12 19:18:37 +00:00
|
|
|
struct list entry;
|
2004-06-04 00:59:16 +00:00
|
|
|
struct dbg_process* process;
|
2000-03-08 16:44:54 +00:00
|
|
|
HANDLE handle;
|
|
|
|
DWORD tid;
|
2004-06-04 00:59:16 +00:00
|
|
|
void* teb;
|
|
|
|
enum dbg_exec_mode exec_mode; /* mode the thread is run (step/run...) */
|
2002-04-01 21:03:13 +00:00
|
|
|
int exec_count; /* count of mode operations */
|
2004-06-04 00:59:16 +00:00
|
|
|
ADDRESS_MODE addr_mode; /* mode */
|
2006-01-27 15:17:22 +00:00
|
|
|
int stopped_xpoint; /* xpoint on which the thread has stopped (-1 if none) */
|
2004-06-04 00:59:16 +00:00
|
|
|
struct dbg_breakpoint step_over_bp;
|
2001-04-09 18:31:47 +00:00
|
|
|
char name[9];
|
2005-05-23 16:22:44 +00:00
|
|
|
BOOL in_exception; /* TRUE if thread stopped with an exception */
|
2010-11-21 21:19:40 +00:00
|
|
|
BOOL first_chance; /* TRUE if thread stopped with a first chance exception
|
|
|
|
* - only valid when in_exception is TRUE
|
|
|
|
*/
|
2005-05-23 16:22:44 +00:00
|
|
|
EXCEPTION_RECORD excpt_record; /* only valid when in_exception is TRUE */
|
2021-10-26 09:45:56 +00:00
|
|
|
struct dbg_frame
|
2005-11-18 12:33:03 +00:00
|
|
|
{
|
2006-07-26 09:57:27 +00:00
|
|
|
ADDRESS64 addr_pc;
|
|
|
|
ADDRESS64 addr_frame;
|
2006-12-02 16:43:08 +00:00
|
|
|
ADDRESS64 addr_stack;
|
2009-12-10 14:23:45 +00:00
|
|
|
DWORD_PTR linear_pc;
|
|
|
|
DWORD_PTR linear_frame;
|
|
|
|
DWORD_PTR linear_stack;
|
2018-06-12 22:53:18 +00:00
|
|
|
dbg_ctx_t context; /* context we got out of stackwalk for this frame */
|
2021-10-26 09:46:07 +00:00
|
|
|
DWORD inline_ctx;
|
2010-03-30 19:37:01 +00:00
|
|
|
BOOL is_ctx_valid; /* is the context above valid */
|
2005-11-18 12:33:03 +00:00
|
|
|
}* frames;
|
|
|
|
int num_frames;
|
|
|
|
int curr_frame;
|
2020-04-01 15:03:27 +00:00
|
|
|
BOOL suspended;
|
2004-06-04 00:59:16 +00:00
|
|
|
};
|
2000-03-08 16:44:54 +00:00
|
|
|
|
2023-01-16 17:09:46 +00:00
|
|
|
struct dbg_module
|
|
|
|
{
|
|
|
|
struct list entry;
|
|
|
|
DWORD_PTR base;
|
2023-01-16 17:14:59 +00:00
|
|
|
DWORD_PTR tls_index_offset;
|
2023-01-16 17:09:46 +00:00
|
|
|
};
|
|
|
|
|
2004-06-04 00:59:16 +00:00
|
|
|
struct dbg_delayed_bp
|
|
|
|
{
|
2002-07-30 00:06:34 +00:00
|
|
|
BOOL is_symbol;
|
2006-01-27 15:17:22 +00:00
|
|
|
BOOL software_bp;
|
2004-06-04 00:59:16 +00:00
|
|
|
union
|
|
|
|
{
|
|
|
|
struct
|
|
|
|
{
|
2002-07-30 00:06:34 +00:00
|
|
|
int lineno;
|
|
|
|
char* name;
|
|
|
|
} symbol;
|
2006-07-26 09:57:27 +00:00
|
|
|
ADDRESS64 addr;
|
2002-07-30 00:06:34 +00:00
|
|
|
} u;
|
2004-06-04 00:59:16 +00:00
|
|
|
};
|
2001-05-21 18:33:15 +00:00
|
|
|
|
2004-06-04 00:59:16 +00:00
|
|
|
#define MAX_BREAKPOINTS 100
|
|
|
|
struct dbg_process
|
|
|
|
{
|
2010-04-12 19:18:31 +00:00
|
|
|
struct list entry;
|
2000-03-08 16:44:54 +00:00
|
|
|
HANDLE handle;
|
|
|
|
DWORD pid;
|
2006-02-24 21:13:34 +00:00
|
|
|
const struct be_process_io* process_io;
|
2006-03-01 20:05:35 +00:00
|
|
|
void* pio_data;
|
2008-10-18 07:15:10 +00:00
|
|
|
const WCHAR* imageName;
|
2010-04-12 19:18:37 +00:00
|
|
|
struct list threads;
|
2023-01-16 17:09:46 +00:00
|
|
|
struct list modules;
|
2018-06-12 22:53:16 +00:00
|
|
|
struct backend_cpu* be_cpu;
|
2019-07-02 16:02:30 +00:00
|
|
|
HANDLE event_on_first_exception;
|
|
|
|
BOOL active_debuggee;
|
2004-06-04 00:59:16 +00:00
|
|
|
struct dbg_breakpoint bp[MAX_BREAKPOINTS];
|
|
|
|
unsigned next_bp;
|
|
|
|
struct dbg_delayed_bp* delayed_bp;
|
2001-05-21 18:33:15 +00:00
|
|
|
int num_delayed_bp;
|
2008-04-30 19:26:57 +00:00
|
|
|
struct open_file_list* source_ofiles;
|
|
|
|
char* search_path;
|
|
|
|
char source_current_file[MAX_PATH];
|
|
|
|
int source_start_line;
|
|
|
|
int source_end_line;
|
2022-05-10 15:11:08 +00:00
|
|
|
const struct data_model* data_model;
|
2022-07-29 08:28:54 +00:00
|
|
|
struct dbg_type* synthetized_types;
|
|
|
|
unsigned num_synthetized_types;
|
2004-06-04 00:59:16 +00:00
|
|
|
};
|
|
|
|
|
2005-05-24 11:46:25 +00:00
|
|
|
/* describes the way the debugger interacts with a given process */
|
|
|
|
struct be_process_io
|
|
|
|
{
|
2006-02-27 20:50:43 +00:00
|
|
|
BOOL (*close_process)(struct dbg_process*, BOOL);
|
2009-06-05 13:16:14 +00:00
|
|
|
BOOL (*read)(HANDLE, const void*, void*, SIZE_T, SIZE_T*);
|
|
|
|
BOOL (*write)(HANDLE, void*, const void*, SIZE_T, SIZE_T*);
|
|
|
|
BOOL (*get_selector)(HANDLE, DWORD, LDT_ENTRY*);
|
2005-05-24 11:46:25 +00:00
|
|
|
};
|
|
|
|
|
2004-06-04 00:59:16 +00:00
|
|
|
extern struct dbg_process* dbg_curr_process;
|
2021-12-07 17:45:33 +00:00
|
|
|
extern DWORD dbg_curr_pid;
|
2004-06-04 00:59:16 +00:00
|
|
|
extern struct dbg_thread* dbg_curr_thread;
|
2021-12-07 17:45:33 +00:00
|
|
|
extern DWORD dbg_curr_tid;
|
2018-06-12 22:53:18 +00:00
|
|
|
extern dbg_ctx_t dbg_context;
|
2004-06-04 00:59:16 +00:00
|
|
|
extern BOOL dbg_interactiveP;
|
2012-01-16 13:15:12 +00:00
|
|
|
extern HANDLE dbg_houtput;
|
2004-06-04 00:59:16 +00:00
|
|
|
|
|
|
|
struct dbg_internal_var
|
2004-02-03 00:14:12 +00:00
|
|
|
{
|
2021-12-07 17:45:27 +00:00
|
|
|
DWORD val;
|
2021-12-07 17:45:21 +00:00
|
|
|
const char* name;
|
|
|
|
void* pval;
|
2021-10-04 12:16:23 +00:00
|
|
|
ULONG typeid; /* always internal type */
|
2004-02-03 00:14:12 +00:00
|
|
|
};
|
|
|
|
|
2004-06-04 00:59:16 +00:00
|
|
|
enum sym_get_lval {sglv_found, sglv_unknown, sglv_aborted};
|
|
|
|
|
2006-02-24 21:14:05 +00:00
|
|
|
enum dbg_start {start_ok, start_error_parse, start_error_init};
|
|
|
|
|
2004-06-04 00:59:16 +00:00
|
|
|
/* break.c */
|
|
|
|
extern void break_set_xpoints(BOOL set);
|
2006-07-26 09:57:27 +00:00
|
|
|
extern BOOL break_add_break(const ADDRESS64* addr, BOOL verbose, BOOL swbp);
|
2006-01-27 15:17:22 +00:00
|
|
|
extern BOOL break_add_break_from_lvalue(const struct dbg_lvalue* value, BOOL swbp);
|
|
|
|
extern void break_add_break_from_id(const char* name, int lineno, BOOL swbp);
|
2011-02-28 13:04:20 +00:00
|
|
|
extern void break_add_break_from_lineno(const char *filename, int lineno, BOOL swbp);
|
2010-12-05 16:35:55 +00:00
|
|
|
extern void break_add_watch_from_lvalue(const struct dbg_lvalue* lvalue, BOOL is_write);
|
|
|
|
extern void break_add_watch_from_id(const char* name, BOOL is_write);
|
2004-06-04 00:59:16 +00:00
|
|
|
extern void break_check_delayed_bp(void);
|
|
|
|
extern void break_delete_xpoint(int num);
|
2009-12-12 11:19:14 +00:00
|
|
|
extern void break_delete_xpoints_from_module(DWORD64 base);
|
2004-06-04 00:59:16 +00:00
|
|
|
extern void break_enable_xpoint(int num, BOOL enable);
|
|
|
|
extern void break_info(void);
|
2007-05-22 16:28:55 +00:00
|
|
|
extern void break_adjust_pc(ADDRESS64* addr, DWORD code, BOOL first_chance, BOOL* is_break);
|
2006-12-02 16:43:27 +00:00
|
|
|
extern BOOL break_should_continue(ADDRESS64* addr, DWORD code);
|
2004-06-04 00:59:16 +00:00
|
|
|
extern void break_suspend_execution(void);
|
|
|
|
extern void break_restart_execution(int count);
|
|
|
|
extern int break_add_condition(int bpnum, struct expr* exp);
|
|
|
|
|
2008-12-21 21:28:32 +00:00
|
|
|
/* crashdlg.c */
|
2012-01-16 15:31:47 +00:00
|
|
|
extern int display_crash_dialog(void);
|
2012-01-18 11:42:02 +00:00
|
|
|
extern HANDLE display_crash_details(HANDLE event);
|
2008-12-21 21:28:32 +00:00
|
|
|
extern int msgbox_res_id(HWND hwnd, UINT textId, UINT captionId, UINT uType);
|
|
|
|
|
2004-06-04 00:59:16 +00:00
|
|
|
/* dbg.y */
|
2021-12-01 14:29:52 +00:00
|
|
|
extern void parser_handle(const char*, HANDLE);
|
2004-06-04 00:59:16 +00:00
|
|
|
extern int input_read_line(const char* pfx, char* buffer, int size);
|
2021-12-01 14:29:59 +00:00
|
|
|
extern size_t input_lex_read_buffer(char* pfx, int size);
|
2021-10-15 16:07:41 +00:00
|
|
|
extern HANDLE WINAPIV parser_generate_command_file(const char*, ...);
|
2004-06-04 00:59:16 +00:00
|
|
|
|
|
|
|
/* debug.l */
|
|
|
|
extern void lexeme_flush(void);
|
2005-05-23 09:51:44 +00:00
|
|
|
extern char* lexeme_alloc_size(int);
|
2004-06-04 00:59:16 +00:00
|
|
|
|
|
|
|
/* display.c */
|
2013-11-09 10:03:40 +00:00
|
|
|
extern BOOL display_print(void);
|
|
|
|
extern BOOL display_add(struct expr* exp, int count, char format);
|
|
|
|
extern BOOL display_delete(int displaynum);
|
|
|
|
extern BOOL display_info(void);
|
|
|
|
extern BOOL display_enable(int displaynum, int enable);
|
2004-06-04 00:59:16 +00:00
|
|
|
|
|
|
|
/* expr.c */
|
|
|
|
extern void expr_free_all(void);
|
|
|
|
extern struct expr* expr_alloc_internal_var(const char* name);
|
|
|
|
extern struct expr* expr_alloc_symbol(const char* name);
|
2021-12-07 17:45:39 +00:00
|
|
|
extern struct expr* expr_alloc_sconstant(dbg_lgint_t val);
|
|
|
|
extern struct expr* expr_alloc_uconstant(dbg_lguint_t val);
|
2004-06-04 00:59:16 +00:00
|
|
|
extern struct expr* expr_alloc_string(const char* str);
|
|
|
|
extern struct expr* expr_alloc_binary_op(int oper, struct expr*, struct expr*);
|
|
|
|
extern struct expr* expr_alloc_unary_op(int oper, struct expr*);
|
|
|
|
extern struct expr* expr_alloc_pstruct(struct expr*, const char* element);
|
|
|
|
extern struct expr* expr_alloc_struct(struct expr*, const char* element);
|
2021-10-15 16:07:41 +00:00
|
|
|
extern struct expr* WINAPIV expr_alloc_func_call(const char*, int nargs, ...);
|
2022-05-20 15:03:27 +00:00
|
|
|
extern struct expr* expr_alloc_typecast(struct dbg_type*, struct expr*);
|
2004-06-04 00:59:16 +00:00
|
|
|
extern struct dbg_lvalue expr_eval(struct expr*);
|
2005-08-19 10:04:03 +00:00
|
|
|
extern struct expr* expr_clone(const struct expr* exp, BOOL *local_binding);
|
2013-11-09 10:03:40 +00:00
|
|
|
extern BOOL expr_free(struct expr* exp);
|
|
|
|
extern BOOL expr_print(const struct expr* exp);
|
2004-06-04 00:59:16 +00:00
|
|
|
|
|
|
|
/* info.c */
|
|
|
|
extern void print_help(void);
|
|
|
|
extern void info_help(void);
|
2023-02-01 15:22:58 +00:00
|
|
|
extern void info_win32_module(DWORD64 mod, BOOL multi_machine);
|
2004-06-04 00:59:16 +00:00
|
|
|
extern void info_win32_class(HWND hWnd, const char* clsName);
|
|
|
|
extern void info_win32_window(HWND hWnd, BOOL detailed);
|
|
|
|
extern void info_win32_processes(void);
|
|
|
|
extern void info_win32_threads(void);
|
2010-11-21 21:19:34 +00:00
|
|
|
extern void info_win32_frame_exceptions(DWORD tid);
|
2004-06-04 00:59:16 +00:00
|
|
|
extern void info_win32_virtual(DWORD pid);
|
|
|
|
extern void info_win32_segments(DWORD start, int length);
|
2010-11-21 21:19:40 +00:00
|
|
|
extern void info_win32_exception(void);
|
2004-06-04 00:59:16 +00:00
|
|
|
extern void info_wine_dbg_channel(BOOL add, const char* chnl, const char* name);
|
2022-02-24 18:52:18 +00:00
|
|
|
extern WCHAR* fetch_thread_description(DWORD tid);
|
2004-06-04 00:59:16 +00:00
|
|
|
|
|
|
|
/* memory.c */
|
2004-08-22 22:35:36 +00:00
|
|
|
extern BOOL memory_read_value(const struct dbg_lvalue* lvalue, DWORD size, void* result);
|
2004-06-04 00:59:16 +00:00
|
|
|
extern BOOL memory_write_value(const struct dbg_lvalue* val, DWORD size, void* value);
|
2021-12-08 13:44:27 +00:00
|
|
|
extern BOOL memory_transfer_value(const struct dbg_lvalue* to, const struct dbg_lvalue* from);
|
2021-12-07 17:45:45 +00:00
|
|
|
extern BOOL memory_fetch_integer(const struct dbg_lvalue* lvalue, unsigned size,
|
|
|
|
BOOL is_signed, dbg_lgint_t* ret);
|
|
|
|
extern BOOL memory_store_integer(const struct dbg_lvalue* lvalue, dbg_lgint_t val);
|
2021-12-08 13:44:38 +00:00
|
|
|
extern BOOL memory_fetch_float(const struct dbg_lvalue* lvalue, double *ret);
|
2021-12-08 13:44:44 +00:00
|
|
|
extern BOOL memory_store_float(const struct dbg_lvalue* lvalue, double *ret);
|
2005-03-03 14:10:17 +00:00
|
|
|
extern void memory_examine(const struct dbg_lvalue *lvalue, int count, char format);
|
2006-07-26 09:57:27 +00:00
|
|
|
extern void* memory_to_linear_addr(const ADDRESS64* address);
|
|
|
|
extern BOOL memory_get_current_pc(ADDRESS64* address);
|
|
|
|
extern BOOL memory_get_current_stack(ADDRESS64* address);
|
2005-05-24 11:46:25 +00:00
|
|
|
extern BOOL memory_get_string(struct dbg_process* pcs, void* addr, BOOL in_debuggee, BOOL unicode, char* buffer, int size);
|
2008-10-18 07:15:10 +00:00
|
|
|
extern BOOL memory_get_string_indirect(struct dbg_process* pcs, void* addr, BOOL unicode, WCHAR* buffer, int size);
|
2022-04-29 09:43:12 +00:00
|
|
|
extern BOOL memory_get_register(DWORD regno, struct dbg_lvalue* value, char* buffer, int len);
|
2004-12-06 16:35:33 +00:00
|
|
|
extern void memory_disassemble(const struct dbg_lvalue*, const struct dbg_lvalue*, int instruction_count);
|
2006-07-26 09:57:27 +00:00
|
|
|
extern BOOL memory_disasm_one_insn(ADDRESS64* addr);
|
|
|
|
#define MAX_OFFSET_TO_STR_LEN 19
|
|
|
|
extern char* memory_offset_to_string(char *str, DWORD64 offset, unsigned mode);
|
|
|
|
extern void print_bare_address(const ADDRESS64* addr);
|
|
|
|
extern void print_address(const ADDRESS64* addr, BOOLEAN with_line);
|
2008-05-23 18:04:55 +00:00
|
|
|
extern void print_basic(const struct dbg_lvalue* value, char format);
|
2004-06-04 00:59:16 +00:00
|
|
|
|
|
|
|
/* source.c */
|
2009-12-12 11:19:44 +00:00
|
|
|
extern void source_list(IMAGEHLP_LINE64* src1, IMAGEHLP_LINE64* src2, int delta);
|
2006-07-26 09:57:27 +00:00
|
|
|
extern void source_list_from_addr(const ADDRESS64* addr, int nlines);
|
2004-06-04 00:59:16 +00:00
|
|
|
extern void source_show_path(void);
|
|
|
|
extern void source_add_path(const char* path);
|
2008-04-30 19:26:57 +00:00
|
|
|
extern void source_nuke_path(struct dbg_process* p);
|
|
|
|
extern void source_free_files(struct dbg_process* p);
|
2004-06-04 00:59:16 +00:00
|
|
|
|
|
|
|
/* stack.c */
|
2010-05-24 22:48:36 +00:00
|
|
|
extern void stack_info(int len);
|
2005-11-18 12:33:03 +00:00
|
|
|
extern void stack_backtrace(DWORD threadID);
|
|
|
|
extern BOOL stack_set_frame(int newframe);
|
2022-04-29 09:43:12 +00:00
|
|
|
extern BOOL stack_get_register_frame(const struct dbg_internal_var* div, struct dbg_lvalue* lvalue);
|
2018-06-12 22:53:18 +00:00
|
|
|
extern unsigned stack_fetch_frames(const dbg_ctx_t *ctx);
|
2005-11-29 10:24:04 +00:00
|
|
|
extern BOOL stack_get_current_symbol(SYMBOL_INFO* sym);
|
2021-10-26 09:45:56 +00:00
|
|
|
static inline struct dbg_frame*
|
|
|
|
stack_get_thread_frame(struct dbg_thread* thd, unsigned nf)
|
|
|
|
{
|
|
|
|
if (!thd->frames || nf >= thd->num_frames) return NULL;
|
|
|
|
return &thd->frames[nf];
|
|
|
|
}
|
|
|
|
static inline struct dbg_frame*
|
|
|
|
stack_get_curr_frame(void)
|
|
|
|
{
|
|
|
|
return stack_get_thread_frame(dbg_curr_thread, dbg_curr_thread->curr_frame);
|
|
|
|
}
|
2004-06-04 00:59:16 +00:00
|
|
|
|
|
|
|
/* symbol.c */
|
|
|
|
extern enum sym_get_lval symbol_get_lvalue(const char* name, const int lineno, struct dbg_lvalue* addr, BOOL bp_disp);
|
2021-10-04 12:16:23 +00:00
|
|
|
extern void symbol_read_symtable(const char* filename, ULONG_PTR offset);
|
2006-07-26 09:57:27 +00:00
|
|
|
extern enum dbg_line_status symbol_get_function_line_status(const ADDRESS64* addr);
|
2009-12-12 11:19:44 +00:00
|
|
|
extern BOOL symbol_get_line(const char* filename, const char* func, IMAGEHLP_LINE64* ret);
|
2004-06-04 00:59:16 +00:00
|
|
|
extern void symbol_info(const char* str);
|
2022-09-30 16:15:26 +00:00
|
|
|
extern void symbol_print_localvalue(const SYMBOL_INFO* sym, DWORD_PTR base, BOOL detailed);
|
2013-11-09 10:03:40 +00:00
|
|
|
extern BOOL symbol_info_locals(void);
|
2004-09-28 02:13:27 +00:00
|
|
|
extern BOOL symbol_is_local(const char* name);
|
2008-11-10 14:02:49 +00:00
|
|
|
struct sgv_data;
|
|
|
|
typedef enum sym_get_lval (*symbol_picker_t)(const char* name, const struct sgv_data* sgv,
|
|
|
|
struct dbg_lvalue* rtn);
|
|
|
|
extern symbol_picker_t symbol_current_picker;
|
|
|
|
extern enum sym_get_lval symbol_picker_interactive(const char* name, const struct sgv_data* sgv,
|
|
|
|
struct dbg_lvalue* rtn);
|
2008-11-10 14:03:10 +00:00
|
|
|
extern enum sym_get_lval symbol_picker_scoped(const char* name, const struct sgv_data* sgv,
|
|
|
|
struct dbg_lvalue* rtn);
|
2004-06-04 00:59:16 +00:00
|
|
|
|
2006-02-24 21:12:59 +00:00
|
|
|
/* tgt_active.c */
|
2021-12-01 14:30:29 +00:00
|
|
|
struct list_string
|
|
|
|
{
|
|
|
|
char* string;
|
|
|
|
struct list_string* next;
|
|
|
|
};
|
|
|
|
extern void dbg_run_debuggee(struct list_string* ls);
|
2006-02-24 21:12:59 +00:00
|
|
|
extern void dbg_wait_next_exception(DWORD cont, int count, int mode);
|
2006-02-24 21:14:05 +00:00
|
|
|
extern enum dbg_start dbg_active_attach(int argc, char* argv[]);
|
2019-11-16 11:39:30 +00:00
|
|
|
extern BOOL dbg_set_curr_thread(DWORD tid);
|
2006-02-24 21:14:05 +00:00
|
|
|
extern enum dbg_start dbg_active_launch(int argc, char* argv[]);
|
2006-02-24 21:15:08 +00:00
|
|
|
extern enum dbg_start dbg_active_auto(int argc, char* argv[]);
|
2012-01-16 13:15:12 +00:00
|
|
|
extern enum dbg_start dbg_active_minidump(int argc, char* argv[]);
|
2006-09-25 20:45:24 +00:00
|
|
|
extern void dbg_active_wait_for_first_exception(void);
|
2019-07-02 16:01:13 +00:00
|
|
|
extern BOOL dbg_attach_debuggee(DWORD pid);
|
2021-04-13 10:29:38 +00:00
|
|
|
extern void fetch_module_name(void* name_addr, void* mod_addr, WCHAR* buffer, size_t bufsz);
|
2006-02-24 21:12:59 +00:00
|
|
|
|
2005-05-23 16:22:44 +00:00
|
|
|
/* tgt_minidump.c */
|
|
|
|
extern void minidump_write(const char*, const EXCEPTION_RECORD*);
|
2006-03-01 20:05:35 +00:00
|
|
|
extern enum dbg_start minidump_reload(int argc, char* argv[]);
|
2005-05-23 16:22:44 +00:00
|
|
|
|
2007-01-02 13:23:48 +00:00
|
|
|
/* tgt_module.c */
|
|
|
|
extern enum dbg_start tgt_module_load(const char* name, BOOL keep);
|
|
|
|
|
2004-06-04 00:59:16 +00:00
|
|
|
/* types.c */
|
|
|
|
extern void print_value(const struct dbg_lvalue* addr, char format, int level);
|
2022-09-30 16:15:26 +00:00
|
|
|
extern BOOL types_print_type(const struct dbg_type*, BOOL details, const WCHAR* varname);
|
2013-11-09 10:03:40 +00:00
|
|
|
extern BOOL print_types(void);
|
2021-12-07 17:45:39 +00:00
|
|
|
extern dbg_lgint_t types_extract_as_integer(const struct dbg_lvalue*);
|
2021-12-07 17:45:51 +00:00
|
|
|
extern dbg_lgint_t types_extract_as_lgint(const struct dbg_lvalue*, unsigned* psize, BOOL *pissigned);
|
2006-07-26 09:57:27 +00:00
|
|
|
extern void types_extract_as_address(const struct dbg_lvalue*, ADDRESS64*);
|
2012-04-04 20:30:38 +00:00
|
|
|
extern BOOL types_store_value(struct dbg_lvalue* lvalue_to, const struct dbg_lvalue* lvalue_from);
|
2021-12-08 13:44:08 +00:00
|
|
|
extern BOOL types_udt_find_element(struct dbg_lvalue* value, const char* name);
|
2004-06-04 00:59:16 +00:00
|
|
|
extern BOOL types_array_index(const struct dbg_lvalue* value, int index, struct dbg_lvalue* result);
|
2004-08-22 22:35:36 +00:00
|
|
|
extern BOOL types_get_info(const struct dbg_type*, IMAGEHLP_SYMBOL_TYPE_INFO, void*);
|
2006-06-18 19:30:45 +00:00
|
|
|
extern BOOL types_get_real_type(struct dbg_type* type, DWORD* tag);
|
2022-05-20 15:03:27 +00:00
|
|
|
extern BOOL types_find_pointer(const struct dbg_type* type, struct dbg_type* outtype);
|
|
|
|
extern BOOL types_find_type(const char* name, enum SymTagEnum tag, struct dbg_type* outtype);
|
2021-12-08 13:44:21 +00:00
|
|
|
extern BOOL types_compare(const struct dbg_type, const struct dbg_type, BOOL* equal);
|
|
|
|
extern BOOL types_is_integral_type(const struct dbg_lvalue*);
|
2021-12-08 13:44:44 +00:00
|
|
|
extern BOOL types_is_float_type(const struct dbg_lvalue*);
|
2022-05-20 15:03:27 +00:00
|
|
|
extern BOOL types_is_pointer_type(const struct dbg_lvalue*);
|
|
|
|
extern BOOL types_find_basic(const WCHAR*, const char*, struct dbg_type* type);
|
2023-01-16 17:09:46 +00:00
|
|
|
extern BOOL types_unload_module(struct dbg_process* pcs, DWORD_PTR linear);
|
2004-06-04 00:59:16 +00:00
|
|
|
|
|
|
|
/* winedbg.c */
|
2000-05-11 21:43:43 +00:00
|
|
|
#ifdef __GNUC__
|
2021-10-04 13:19:20 +00:00
|
|
|
extern int WINAPIV dbg_printf(const char* format, ...) __attribute__((format (printf,1,2)));
|
2000-05-11 21:43:43 +00:00
|
|
|
#else
|
2021-10-04 13:19:20 +00:00
|
|
|
extern int WINAPIV dbg_printf(const char* format, ...);
|
2000-05-11 21:43:43 +00:00
|
|
|
#endif
|
2004-06-04 00:59:16 +00:00
|
|
|
extern const struct dbg_internal_var* dbg_get_internal_var(const char*);
|
|
|
|
extern BOOL dbg_interrupt_debuggee(void);
|
2007-02-10 09:48:52 +00:00
|
|
|
extern unsigned dbg_num_processes(void);
|
2006-03-01 20:05:31 +00:00
|
|
|
extern struct dbg_process* dbg_add_process(const struct be_process_io* pio, DWORD pid, HANDLE h);
|
2008-10-18 07:15:10 +00:00
|
|
|
extern void dbg_set_process_name(struct dbg_process* p, const WCHAR* name);
|
2004-06-04 00:59:16 +00:00
|
|
|
extern struct dbg_process* dbg_get_process(DWORD pid);
|
2006-03-01 20:05:35 +00:00
|
|
|
extern struct dbg_process* dbg_get_process_h(HANDLE handle);
|
2004-06-04 00:59:16 +00:00
|
|
|
extern void dbg_del_process(struct dbg_process* p);
|
|
|
|
struct dbg_thread* dbg_add_thread(struct dbg_process* p, DWORD tid, HANDLE h, void* teb);
|
|
|
|
extern struct dbg_thread* dbg_get_thread(struct dbg_process* p, DWORD tid);
|
|
|
|
extern void dbg_del_thread(struct dbg_thread* t);
|
2008-10-18 07:15:10 +00:00
|
|
|
extern BOOL dbg_init(HANDLE hProc, const WCHAR* in, BOOL invade);
|
2009-12-10 14:23:45 +00:00
|
|
|
extern BOOL dbg_load_module(HANDLE hProc, HANDLE hFile, const WCHAR* name, DWORD_PTR base, DWORD size);
|
2023-01-16 17:09:46 +00:00
|
|
|
extern struct dbg_module* dbg_get_module(struct dbg_process* pcs, DWORD_PTR base);
|
|
|
|
extern void dbg_del_module(struct dbg_module* mod);
|
|
|
|
extern BOOL dbg_unload_module(struct dbg_process* pcs, DWORD_PTR base);
|
2008-11-10 14:03:02 +00:00
|
|
|
extern void dbg_set_option(const char*, const char*);
|
2021-12-01 14:29:52 +00:00
|
|
|
extern void dbg_start_interactive(const char*, HANDLE hFile);
|
2008-12-21 21:28:32 +00:00
|
|
|
extern void dbg_init_console(void);
|
2002-07-20 20:18:17 +00:00
|
|
|
|
2006-02-24 21:12:59 +00:00
|
|
|
/* gdbproxy.c */
|
2006-02-24 21:14:36 +00:00
|
|
|
extern int gdb_main(int argc, char* argv[]);
|
1999-02-13 17:55:17 +00:00
|
|
|
|
2004-06-04 00:59:16 +00:00
|
|
|
static inline BOOL dbg_read_memory(const void* addr, void* buffer, size_t len)
|
|
|
|
{
|
2006-07-10 06:59:10 +00:00
|
|
|
SIZE_T rlen;
|
2006-02-24 21:13:34 +00:00
|
|
|
return dbg_curr_process->process_io->read(dbg_curr_process->handle, addr, buffer, len, &rlen) && len == rlen;
|
2004-06-04 00:59:16 +00:00
|
|
|
}
|
1999-02-13 17:55:17 +00:00
|
|
|
|
2004-06-04 00:59:16 +00:00
|
|
|
static inline BOOL dbg_write_memory(void* addr, const void* buffer, size_t len)
|
|
|
|
{
|
2006-07-10 06:59:10 +00:00
|
|
|
SIZE_T wlen;
|
2006-02-24 21:13:34 +00:00
|
|
|
return dbg_curr_process->process_io->write(dbg_curr_process->handle, addr, buffer, len, &wlen) && len == wlen;
|
2004-06-04 00:59:16 +00:00
|
|
|
}
|
2000-03-08 16:44:54 +00:00
|
|
|
|
2022-05-10 15:11:08 +00:00
|
|
|
struct data_model
|
|
|
|
{
|
2022-05-20 15:03:27 +00:00
|
|
|
enum dbg_internal_types itype;
|
|
|
|
const WCHAR* name;
|
2022-05-10 15:11:08 +00:00
|
|
|
};
|
2022-05-20 15:03:27 +00:00
|
|
|
|
2022-05-10 15:11:08 +00:00
|
|
|
extern const struct data_model ilp32_data_model[];
|
|
|
|
extern const struct data_model lp64_data_model[];
|
|
|
|
extern const struct data_model llp64_data_model[];
|
2022-05-10 15:11:08 +00:00
|
|
|
|
2004-06-04 00:59:16 +00:00
|
|
|
extern struct dbg_internal_var dbg_internal_vars[];
|
|
|
|
|
|
|
|
#define DBG_IVARNAME(_var) dbg_internal_var_##_var
|
|
|
|
#define DBG_IVARSTRUCT(_var) dbg_internal_vars[DBG_IVARNAME(_var)]
|
2021-12-07 17:45:21 +00:00
|
|
|
#define DBG_IVAR(_var) (DBG_IVARSTRUCT(_var).val)
|
2004-06-04 00:59:16 +00:00
|
|
|
#define INTERNAL_VAR(_var,_val,_ref,itype) DBG_IVARNAME(_var),
|
|
|
|
enum debug_int_var
|
|
|
|
{
|
2000-04-13 19:31:58 +00:00
|
|
|
#include "intvar.h"
|
2000-04-30 12:21:15 +00:00
|
|
|
DBG_IV_LAST
|
|
|
|
};
|
2000-04-13 19:31:58 +00:00
|
|
|
#undef INTERNAL_VAR
|
|
|
|
|
2004-06-04 00:59:16 +00:00
|
|
|
/* include CPU dependent bits */
|
|
|
|
#include "be_cpu.h"
|
|
|
|
|
1996-07-12 19:02:39 +00:00
|
|
|
#endif /* __WINE_DEBUGGER_H */
|