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
41221452
Commit
41221452
authored
Nov 13, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Nov 14, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: Don't use invalid address mode in exception prolog.
Removes a GCC 12.2 warning about printing NULL string. Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
parent
5f29bcda
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
tgt_active.c
programs/winedbg/tgt_active.c
+2
-1
No files found.
programs/winedbg/tgt_active.c
View file @
41221452
...
...
@@ -153,7 +153,7 @@ static BOOL dbg_exception_prolog(BOOL is_debug, const EXCEPTION_RECORD* rec)
if
(
addr
.
Mode
!=
dbg_curr_thread
->
addr_mode
)
{
const
char
*
name
=
NULL
;
const
char
*
name
;
switch
(
addr
.
Mode
)
{
...
...
@@ -162,6 +162,7 @@ static BOOL dbg_exception_prolog(BOOL is_debug, const EXCEPTION_RECORD* rec)
case
AddrModeReal
:
name
=
"vm86"
;
break
;
case
AddrModeFlat
:
name
=
dbg_curr_process
->
be_cpu
->
pointer_size
==
4
?
"32 bit"
:
"64 bit"
;
break
;
default:
return
FALSE
;
}
dbg_printf
(
"In %s mode.
\n
"
,
name
);
dbg_curr_thread
->
addr_mode
=
addr
.
Mode
;
...
...
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