diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-04-14 22:35:50 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-04-14 22:35:50 +0000 |
commit | aa6290b7e56270c42bce32cd57ff18de8608d4f7 (patch) | |
tree | e17568152022ce2716843d014c0aa1a2e4bec446 | |
parent | 8979596d1785fd52badbdb177a5ef09d4f182f40 (diff) |
Fix format specified for watchpoint address.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2667 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r-- | gdbstub.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |