mirror of https://github.com/xemu-project/xemu.git
Proper target format for qOffsets.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2934 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
0458df2444
commit
fe834d041d
|
@ -908,8 +908,11 @@ static int gdb_handle_packet(GDBState *s, CPUState *env, const char *line_buf)
|
||||||
if (strncmp(p, "Offsets", 7) == 0) {
|
if (strncmp(p, "Offsets", 7) == 0) {
|
||||||
TaskState *ts = env->opaque;
|
TaskState *ts = env->opaque;
|
||||||
|
|
||||||
sprintf(buf, "Text=%x;Data=%x;Bss=%x", ts->info->code_offset,
|
sprintf(buf,
|
||||||
ts->info->data_offset, ts->info->data_offset);
|
"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);
|
put_packet(s, buf);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue