Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
dfd3d4ad
Commit
dfd3d4ad
authored
Nov 25, 2000
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved GET_IP out of winnt.h.
parent
1475e102
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
13 deletions
+11
-13
debugger.c
dlls/kernel/debugger.c
+1
-1
exception.c
dlls/ntdll/exception.c
+10
-1
winnt.h
include/winnt.h
+0
-11
No files found.
dlls/kernel/debugger.c
View file @
dfd3d4ad
...
@@ -207,7 +207,7 @@ void WINAPI DebugBreak16( CONTEXT86 *context )
...
@@ -207,7 +207,7 @@ void WINAPI DebugBreak16( CONTEXT86 *context )
rec
.
ExceptionCode
=
EXCEPTION_BREAKPOINT
;
rec
.
ExceptionCode
=
EXCEPTION_BREAKPOINT
;
rec
.
ExceptionFlags
=
0
;
rec
.
ExceptionFlags
=
0
;
rec
.
ExceptionRecord
=
NULL
;
rec
.
ExceptionRecord
=
NULL
;
rec
.
ExceptionAddress
=
GET_IP
(
context
);
rec
.
ExceptionAddress
=
(
LPVOID
)
context
->
Eip
;
rec
.
NumberParameters
=
0
;
rec
.
NumberParameters
=
0
;
NtRaiseException
(
&
rec
,
context
,
TRUE
);
NtRaiseException
(
&
rec
,
context
,
TRUE
);
#endif
/* defined(__i386__) */
#endif
/* defined(__i386__) */
...
...
dlls/ntdll/exception.c
View file @
dfd3d4ad
...
@@ -27,7 +27,16 @@ typedef struct
...
@@ -27,7 +27,16 @@ typedef struct
EXCEPTION_FRAME
*
prevFrame
;
EXCEPTION_FRAME
*
prevFrame
;
}
EXC_NESTED_FRAME
;
}
EXC_NESTED_FRAME
;
#ifdef __i386__
# define GET_IP(context) ((LPVOID)(context)->Eip)
#endif
#ifdef __sparc__
# define GET_IP(context) ((LPVOID)(context)->pc)
#endif
#ifndef GET_IP
# error You must define GET_IP for this CPU
#endif
/*******************************************************************
/*******************************************************************
* EXC_RaiseHandler
* EXC_RaiseHandler
*
*
...
...
include/winnt.h
View file @
dfd3d4ad
...
@@ -793,17 +793,6 @@ typedef HANDLE *PHANDLE;
...
@@ -793,17 +793,6 @@ typedef HANDLE *PHANDLE;
#error You need to define DEFINE_REGS_ENTRYPOINT macros for your CPU
#error You need to define DEFINE_REGS_ENTRYPOINT macros for your CPU
#endif
#endif
#ifdef __i386__
# define GET_IP(context) ((LPVOID)(context)->Eip)
#endif
#ifdef __sparc__
# define GET_IP(context) ((LPVOID)(context)->pc)
#endif
#if !defined(GET_IP) && !defined(RC_INVOKED)
# error You must define GET_IP for this CPU
#endif
/* Constructor functions */
/* Constructor functions */
#ifdef __GNUC__
#ifdef __GNUC__
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment