aboutsummaryrefslogtreecommitdiff
path: root/gdbstub.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-01-17 22:03:16 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-01-17 22:03:16 +0000
commitb328f873ab2c952f1e27970969a9315d46ced974 (patch)
tree536b771ebaa2cbdbe93b580b0ac52066a621267f /gdbstub.c
parentca954f6d90208fa691c04b26ba6227bf717df57f (diff)
gdb M packet parsing fix (Thomas Petazzoni)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1227 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'gdbstub.c')
-rw-r--r--gdbstub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdbstub.c b/gdbstub.c
index 9a491db6de..1e95c7c08a 100644
--- a/gdbstub.c
+++ b/gdbstub.c
@@ -420,7 +420,7 @@ static int gdb_handle_packet(GDBState *s, const char *line_buf)
if (*p == ',')
p++;
len = strtoul(p, (char **)&p, 16);
- if (*p == ',')
+ if (*p == ':')
p++;
hextomem(mem_buf, p, len);
if (cpu_memory_rw_debug(env, addr, mem_buf, len, 1) != 0)