diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-01-17 22:03:16 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-01-17 22:03:16 +0000 |
commit | b328f873ab2c952f1e27970969a9315d46ced974 (patch) | |
tree | 536b771ebaa2cbdbe93b580b0ac52066a621267f /gdbstub.c | |
parent | ca954f6d90208fa691c04b26ba6227bf717df57f (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |