Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sam Joan Roque-Worcel
wine
Commits
6bba78e1
Commit
6bba78e1
authored
25 years ago
by
Ulrich Weigand
Committed by
Alexandre Julliard
25 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Moved GET_IP macro to winnt.h
parent
395d3705
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dlls/ntdll/exception.c
+0
-11
0 additions, 11 deletions
dlls/ntdll/exception.c
include/winnt.h
+11
-0
11 additions, 0 deletions
include/winnt.h
with
11 additions
and
11 deletions
dlls/ntdll/exception.c
+
0
−
11
View file @
6bba78e1
...
...
@@ -25,17 +25,6 @@ typedef struct
}
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
/* __i386__ */
/* Default hook for built-in debugger */
static
DWORD
default_hook
(
EXCEPTION_RECORD
*
rec
,
CONTEXT
*
ctx
,
BOOL
first
)
{
...
...
This diff is collapsed.
Click to expand it.
include/winnt.h
+
11
−
0
View file @
6bba78e1
...
...
@@ -664,6 +664,17 @@ typedef HANDLE *PHANDLE;
#define ISV86(context) (EFL_reg(context) & 0x00020000)
#define V86BASE(context) ((context)->Dr7)
/* ugly */
#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
#endif
/* __WINE__ */
/*
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment