Commit 905f20b1519369a7b987347c6b01afe2c1b00350

Authored by bellard
1 parent ff1afc72

fixed gdb error reporting (Paul Brook)


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1407 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 2 additions and 2 deletions
gdbstub.c
... ... @@ -489,7 +489,7 @@ static int gdb_handle_packet(GDBState *s, CPUState *env, const char *line_buf)
489 489 p++;
490 490 hextomem(mem_buf, p, len);
491 491 if (cpu_memory_rw_debug(env, addr, mem_buf, len, 1) != 0)
492   - put_packet(s, "ENN");
  492 + put_packet(s, "E14");
493 493 else
494 494 put_packet(s, "OK");
495 495 break;
... ... @@ -507,7 +507,7 @@ static int gdb_handle_packet(GDBState *s, CPUState *env, const char *line_buf)
507 507 put_packet(s, "OK");
508 508 } else {
509 509 breakpoint_error:
510   - put_packet(s, "ENN");
  510 + put_packet(s, "E22");
511 511 }
512 512 break;
513 513 case 'z':
... ...