OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0458df2
)
Proper target format for qOffsets.
author
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 3 Jun 2007 17:08:32 +0000
(17:08 +0000)
committer
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 3 Jun 2007 17:08:32 +0000
(17:08 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2934
c046a42c
-6fe2-441c-8c8c-
71466251a162
gdbstub.c
patch
|
blob
|
history
diff --git
a/gdbstub.c
b/gdbstub.c
index
d346ad9
..
2ec2f33
100644
(file)
--- a/
gdbstub.c
+++ b/
gdbstub.c
@@
-908,8
+908,11
@@
static int gdb_handle_packet(GDBState *s, CPUState *env, const char *line_buf)
if (strncmp(p, "Offsets", 7) == 0) {
TaskState *ts = env->opaque;
- sprintf(buf, "Text=%x;Data=%x;Bss=%x", ts->info->code_offset,
- ts->info->data_offset, ts->info->data_offset);
+ sprintf(buf,
+ "Text=" TARGET_FMT_lx ";Data=" TARGET_FMT_lx ";Bss=" TARGET_FMT_lx,
+ ts->info->code_offset,
+ ts->info->data_offset,
+ ts->info->data_offset);
put_packet(s, buf);
break;
}