summaryrefslogtreecommitdiff
path: root/gdbstub.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-04-26 21:09:55 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-04-26 21:09:55 +0000
commit905f20b1519369a7b987347c6b01afe2c1b00350 (patch)
tree7264af30c9c2a1c8de8deeedb6b901b5ee33068a /gdbstub.c
parentff1afc72f2dc508c176d0ed2bfee69545ea3b8ef (diff)
downloadqemu-905f20b1519369a7b987347c6b01afe2c1b00350.tar.gz
qemu-905f20b1519369a7b987347c6b01afe2c1b00350.tar.bz2
qemu-905f20b1519369a7b987347c6b01afe2c1b00350.zip
fixed gdb error reporting (Paul Brook)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1407 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'gdbstub.c')
-rw-r--r--gdbstub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdbstub.c b/gdbstub.c
index 527d2e926e..22c38e5e32 100644
--- a/gdbstub.c
+++ b/gdbstub.c
@@ -489,7 +489,7 @@ static int gdb_handle_packet(GDBState *s, CPUState *env, const char *line_buf)
p++;
hextomem(mem_buf, p, len);
if (cpu_memory_rw_debug(env, addr, mem_buf, len, 1) != 0)
- put_packet(s, "ENN");
+ put_packet(s, "E14");
else
put_packet(s, "OK");
break;
@@ -507,7 +507,7 @@ static int gdb_handle_packet(GDBState *s, CPUState *env, const char *line_buf)
put_packet(s, "OK");
} else {
breakpoint_error:
- put_packet(s, "ENN");
+ put_packet(s, "E22");
}
break;
case 'z':