projects
/
qemu
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8979596
)
Fix format specified for watchpoint address.
author
pbrook
<pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 14 Apr 2007 22:35:50 +0000
(22:35 +0000)
committer
pbrook
<pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 14 Apr 2007 22:35:50 +0000
(22:35 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2667
c046a42c
-6fe2-441c-8c8c-
71466251a162
gdbstub.c
patch
|
blob
|
history
diff --git
a/gdbstub.c
b/gdbstub.c
index
813502f
..
79f54f5
100644
(file)
--- a/
gdbstub.c
+++ b/
gdbstub.c
@@
-929,7
+929,8
@@
static void gdb_vm_stopped(void *opaque, int reason)
if (reason == EXCP_DEBUG) {
if (s->env->watchpoint_hit) {
- snprintf(buf, sizeof(buf), "T%02xwatch:%x;", SIGTRAP,
+ snprintf(buf, sizeof(buf), "T%02xwatch:" TARGET_FMT_lx ";",
+ SIGTRAP,
s->env->watchpoint[s->env->watchpoint_hit - 1].vaddr);
put_packet(s, buf);
s->env->watchpoint_hit = 0;