Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
c2d7347e
Commit
c2d7347e
authored
Aug 20, 2013
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Silence some printf format warnings.
parent
2810c564
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
signal_x86_64.c
dlls/ntdll/signal_x86_64.c
+7
-7
No files found.
dlls/ntdll/signal_x86_64.c
View file @
c2d7347e
...
...
@@ -1826,7 +1826,7 @@ static EXCEPTION_RECORD *setup_exception( ucontext_t *sigcontext, raise_func fun
if
(
is_inside_signal_stack
(
stack
))
{
ERR
(
"nested exception on signal stack in thread %04x eip %016lx esp %016lx stack %p-%p
\n
"
,
GetCurrentThreadId
(),
RIP_sig
(
sigcontext
),
RSP_sig
(
sigcontext
),
GetCurrentThreadId
(),
(
ULONG_PTR
)
RIP_sig
(
sigcontext
),
(
ULONG_PTR
)
RSP_sig
(
sigcontext
),
NtCurrentTeb
()
->
Tib
.
StackLimit
,
NtCurrentTeb
()
->
Tib
.
StackBase
);
abort_thread
(
1
);
}
...
...
@@ -1836,7 +1836,7 @@ static EXCEPTION_RECORD *setup_exception( ucontext_t *sigcontext, raise_func fun
(
char
*
)
stack
>
(
char
*
)
NtCurrentTeb
()
->
Tib
.
StackBase
)
{
WARN
(
"exception outside of stack limits in thread %04x eip %016lx esp %016lx stack %p-%p
\n
"
,
GetCurrentThreadId
(),
RIP_sig
(
sigcontext
),
RSP_sig
(
sigcontext
),
GetCurrentThreadId
(),
(
ULONG_PTR
)
RIP_sig
(
sigcontext
),
(
ULONG_PTR
)
RSP_sig
(
sigcontext
),
NtCurrentTeb
()
->
Tib
.
StackLimit
,
NtCurrentTeb
()
->
Tib
.
StackBase
);
}
else
if
((
char
*
)(
stack
-
1
)
<
(
char
*
)
NtCurrentTeb
()
->
DeallocationStack
+
4096
)
...
...
@@ -1844,8 +1844,8 @@ static EXCEPTION_RECORD *setup_exception( ucontext_t *sigcontext, raise_func fun
/* stack overflow on last page, unrecoverable */
UINT
diff
=
(
char
*
)
NtCurrentTeb
()
->
DeallocationStack
+
4096
-
(
char
*
)(
stack
-
1
);
ERR
(
"stack overflow %u bytes in thread %04x eip %016lx esp %016lx stack %p-%p-%p
\n
"
,
diff
,
GetCurrentThreadId
(),
RIP_sig
(
sigcontext
),
RSP_sig
(
sigcontext
),
NtCurrentTeb
()
->
DeallocationStack
,
diff
,
GetCurrentThreadId
(),
(
ULONG_PTR
)
RIP_sig
(
sigcontext
),
(
ULONG_PTR
)
RSP_sig
(
sigcontext
),
NtCurrentTeb
()
->
DeallocationStack
,
NtCurrentTeb
()
->
Tib
.
StackLimit
,
NtCurrentTeb
()
->
Tib
.
StackBase
);
abort_thread
(
1
);
}
...
...
@@ -1857,8 +1857,8 @@ static EXCEPTION_RECORD *setup_exception( ucontext_t *sigcontext, raise_func fun
{
UINT
diff
=
(
char
*
)
NtCurrentTeb
()
->
Tib
.
StackLimit
-
(
char
*
)(
stack
-
1
);
ERR
(
"stack overflow %u bytes in thread %04x eip %016lx esp %016lx stack %p-%p-%p
\n
"
,
diff
,
GetCurrentThreadId
(),
RIP_sig
(
sigcontext
),
RSP_sig
(
sigcontext
),
NtCurrentTeb
()
->
DeallocationStack
,
diff
,
GetCurrentThreadId
(),
(
ULONG_PTR
)
RIP_sig
(
sigcontext
),
(
ULONG_PTR
)
RSP_sig
(
sigcontext
),
NtCurrentTeb
()
->
DeallocationStack
,
NtCurrentTeb
()
->
Tib
.
StackLimit
,
NtCurrentTeb
()
->
Tib
.
StackBase
);
abort_thread
(
1
);
}
...
...
@@ -2255,7 +2255,7 @@ static void segv_handler( int signal, siginfo_t *siginfo, void *sigcontext )
rec
->
ExceptionCode
=
EXCEPTION_DATATYPE_MISALIGNMENT
;
break
;
default
:
ERR
(
"Got unexpected trap %ld
\n
"
,
TRAP_sig
(
ucontext
)
);
ERR
(
"Got unexpected trap %ld
\n
"
,
(
ULONG_PTR
)
TRAP_sig
(
ucontext
)
);
/* fall through */
case
TRAP_x86_NMI
:
/* NMI interrupt */
case
TRAP_x86_DNA
:
/* Device not available exception */
...
...
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