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
915e12e5
Commit
915e12e5
authored
Aug 08, 2012
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Aug 13, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: Avoid TRUE:FALSE conditional expressions.
parent
eeed445f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
be_arm.c
programs/winedbg/be_arm.c
+1
-1
break.c
programs/winedbg/break.c
+1
-1
No files found.
programs/winedbg/be_arm.c
View file @
915e12e5
...
@@ -869,7 +869,7 @@ void be_arm_disasm_one_insn(ADDRESS64 *addr, int display)
...
@@ -869,7 +869,7 @@ void be_arm_disasm_one_insn(ADDRESS64 *addr, int display)
if
(
!
memory_get_register
(
CV_ARM_CPSR
,
&
pval
,
tmp
,
sizeof
(
tmp
)))
if
(
!
memory_get_register
(
CV_ARM_CPSR
,
&
pval
,
tmp
,
sizeof
(
tmp
)))
dbg_printf
(
"
\n\t
memory_get_register failed: %s"
,
tmp
);
dbg_printf
(
"
\n\t
memory_get_register failed: %s"
,
tmp
);
else
else
db_disasm_thumb
=
(
*
pval
&
0x20
)
?
TRUE
:
FALSE
;
db_disasm_thumb
=
(
*
pval
&
0x20
)
!=
0
;
db_display
=
display
;
db_display
=
display
;
...
...
programs/winedbg/break.c
View file @
915e12e5
...
@@ -549,7 +549,7 @@ void break_enable_xpoint(int num, BOOL enable)
...
@@ -549,7 +549,7 @@ void break_enable_xpoint(int num, BOOL enable)
dbg_printf
(
"Invalid breakpoint number %d
\n
"
,
num
);
dbg_printf
(
"Invalid breakpoint number %d
\n
"
,
num
);
return
;
return
;
}
}
dbg_curr_process
->
bp
[
num
].
enabled
=
(
enable
)
?
TRUE
:
FALSE
;
dbg_curr_process
->
bp
[
num
].
enabled
=
enable
!=
0
;
dbg_curr_process
->
bp
[
num
].
skipcount
=
0
;
dbg_curr_process
->
bp
[
num
].
skipcount
=
0
;
}
}
...
...
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