mdebug

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit c9c460b0a0b94c65efe066a0702f413da22f2c6d
parent 166f335337989ee9ac1c92a5f126c4d0b9d49f70
Author: Brian Swetland <swetland@frotz.net>
Date:   Tue, 23 Jun 2015 22:13:21 -0700

gdb-bridge: fix sense of breakpoint status replies

This avoids confusing gdb.

Diffstat:
Mtools/gdb-bridge.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/gdb-bridge.c b/tools/gdb-bridge.c @@ -546,9 +546,9 @@ void handle_command(struct gdbcnxn *gc, unsigned char *cmd) { // only support hw breakpoints } if (handle_breakpoint(cmd[0] == 'Z', addr, kind)) { - gdb_puts(gc, "OK"); - } else { gdb_puts(gc, "E1"); + } else { + gdb_puts(gc, "OK"); } break; }