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
8f6736cf
Commit
8f6736cf
authored
Dec 04, 2008
by
Vincent Povirk
Committed by
Alexandre Julliard
Dec 05, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: Fix string format warnings.
parent
022a8439
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
db_disasm.c
programs/winedbg/db_disasm.c
+4
-4
memory.c
programs/winedbg/memory.c
+1
-1
symbol.c
programs/winedbg/symbol.c
+1
-1
types.c
programs/winedbg/types.c
+1
-1
No files found.
programs/winedbg/db_disasm.c
View file @
8f6736cf
...
...
@@ -1261,7 +1261,7 @@ static void db_disasm_esc( ADDRESS64* addr, int inst, int short_addr,
* Normal address modes.
*/
db_read_address
(
addr
,
short_addr
,
regmodrm
,
&
address
);
dbg_printf
(
fp
->
f_name
);
dbg_printf
(
"%s"
,
fp
->
f_name
);
switch
(
fp
->
f_size
)
{
case
SNGL
:
p
=
"s"
;
break
;
case
DBLR
:
p
=
"l"
;
break
;
...
...
@@ -1463,15 +1463,15 @@ void be_i386_disasm_one_insn(ADDRESS64 *addr, int display)
if
(
db_display
)
{
if
(
size
==
WORD
)
dbg_printf
(
i_name
);
dbg_printf
(
"%s"
,
i_name
);
else
dbg_printf
(
ip
->
i_extra
);
dbg_printf
(
"%s"
,
ip
->
i_extra
);
}
}
else
{
if
(
db_display
)
{
dbg_printf
(
i_name
);
dbg_printf
(
"%s"
,
i_name
);
}
if
(
i_size
!=
NONE
)
{
if
(
i_size
==
BYTE
)
{
...
...
programs/winedbg/memory.c
View file @
8f6736cf
...
...
@@ -677,7 +677,7 @@ BOOL memory_get_register(DWORD regno, DWORD** value, char* buffer, int len)
else
*
value
=
div
->
pval
;
if
(
buffer
)
snprintf
(
buffer
,
len
,
div
->
name
);
if
(
buffer
)
lstrcpynA
(
buffer
,
div
->
name
,
len
);
return
TRUE
;
}
}
...
...
programs/winedbg/symbol.c
View file @
8f6736cf
...
...
@@ -650,7 +650,7 @@ void symbol_print_local(const SYMBOL_INFO* sym, ULONG base,
}
else
{
dbg_printf
(
buffer
);
dbg_printf
(
"%s"
,
buffer
);
if
(
detailed
)
dbg_printf
(
" (%s)"
,
(
sym
->
Flags
&
SYMFLAG_PARAMETER
)
?
"parameter"
:
"local"
);
...
...
programs/winedbg/types.c
View file @
8f6736cf
...
...
@@ -716,7 +716,7 @@ int types_print_type(const struct dbg_type* type, BOOL details)
dbg_printf
(
")"
);
break
;
case
SymTagTypedef
:
dbg_printf
(
name
);
dbg_printf
(
"%s"
,
name
);
break
;
default:
WINE_ERR
(
"Unknown type %u for %s
\n
"
,
tag
,
name
);
...
...
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