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
07502a06
Commit
07502a06
authored
Nov 26, 2021
by
Eric Pouech
Committed by
Alexandre Julliard
Nov 26, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: Replace wine_dbgstr_longlong with I64 width modifier.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a29a8a31
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
9 deletions
+8
-9
break.c
programs/winedbg/break.c
+3
-4
gdbproxy.c
programs/winedbg/gdbproxy.c
+1
-1
info.c
programs/winedbg/info.c
+3
-3
types.c
programs/winedbg/types.c
+1
-1
No files found.
programs/winedbg/break.c
View file @
07502a06
...
...
@@ -402,8 +402,7 @@ static void break_add_watch(const struct dbg_lvalue* lvalue, BOOL is_write)
{
case
4
:
case
2
:
case
1
:
break
;
default:
dbg_printf
(
"Unsupported length (%s) for watch-points, defaulting to 4
\n
"
,
wine_dbgstr_longlong
(
l
));
dbg_printf
(
"Unsupported length (%I64x) for watch-points, defaulting to 4
\n
"
,
l
);
break
;
}
}
...
...
@@ -752,8 +751,8 @@ BOOL break_should_continue(ADDRESS64* addr, DWORD code)
case
be_xpoint_watch_write
:
dbg_printf
(
"Stopped on watchpoint %d at "
,
dbg_curr_thread
->
stopped_xpoint
);
print_address
(
addr
,
TRUE
);
dbg_printf
(
" new value %
s
\n
"
,
wine_dbgstr_longlong
(
dbg_curr_process
->
bp
[
dbg_curr_thread
->
stopped_xpoint
].
w
.
oldval
)
);
dbg_printf
(
" new value %
I64x
\n
"
,
dbg_curr_process
->
bp
[
dbg_curr_thread
->
stopped_xpoint
].
w
.
oldval
);
}
return
FALSE
;
}
...
...
programs/winedbg/gdbproxy.c
View file @
07502a06
...
...
@@ -1420,7 +1420,7 @@ static enum packet_return packet_read_register(struct gdb_context* gdbctx)
return
packet_error
;
}
TRACE
(
"%Iu => %
s
\n
"
,
reg
,
wine_dbgstr_longlong
(
cpu_register
(
gdbctx
,
&
ctx
,
reg
)
));
TRACE
(
"%Iu => %
I64x
\n
"
,
reg
,
cpu_register
(
gdbctx
,
&
ctx
,
reg
));
packet_reply_open
(
gdbctx
);
packet_reply_register_hex_to
(
gdbctx
,
&
ctx
,
reg
);
...
...
programs/winedbg/info.c
View file @
07502a06
...
...
@@ -168,9 +168,9 @@ struct info_modules
static
void
module_print_info
(
const
struct
info_module
*
module
,
BOOL
is_embedded
)
{
dbg_printf
(
"%*.*
s-%*.*s
\t
%-16s%s
\n
"
,
ADDRWIDTH
,
ADDRWIDTH
,
wine_dbgstr_longlong
(
module
->
mi
.
BaseOfImage
)
,
ADDRWIDTH
,
ADDRWIDTH
,
wine_dbgstr_longlong
(
module
->
mi
.
BaseOfImage
+
module
->
mi
.
ImageSize
)
,
dbg_printf
(
"%*.*
I64x-%*.*I64x
\t
%-16s%s
\n
"
,
ADDRWIDTH
,
ADDRWIDTH
,
module
->
mi
.
BaseOfImage
,
ADDRWIDTH
,
ADDRWIDTH
,
module
->
mi
.
BaseOfImage
+
module
->
mi
.
ImageSize
,
is_embedded
?
"
\\
"
:
get_symtype_str
(
&
module
->
mi
),
module
->
name
);
}
...
...
programs/winedbg/types.c
View file @
07502a06
...
...
@@ -83,7 +83,7 @@ LONGLONG types_extract_as_longlong(const struct dbg_lvalue* lvalue,
}
if
(
size
>
sizeof
(
rtn
))
{
WINE_ERR
(
"Size too large (%
s)
\n
"
,
wine_dbgstr_longlong
(
size
)
);
WINE_ERR
(
"Size too large (%
I64x)
\n
"
,
size
);
RaiseException
(
DEBUG_STATUS_NOT_AN_INTEGER
,
0
,
0
,
NULL
);
return
rtn
;
}
...
...
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