From 35177104553aaf2bd48e717f939dae0a43ecc8e7 Mon Sep 17 00:00:00 2001 From: Daniel Beer Date: Mon, 30 Apr 2012 08:52:12 +1200 Subject: [PATCH] Fix GDB breakpoint support. --- ui/gdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/gdb.c b/ui/gdb.c index 1e9520b..e9ccf1b 100644 --- a/ui/gdb.c +++ b/ui/gdb.c @@ -323,8 +323,8 @@ static int set_breakpoint(struct gdb_data *data, int enable, char *buf) return gdb_send(data, "E00"); } - /* We only support breakpoints */ switch (atoi(parts[0])) { + case 0: case 1: type = DEVICE_BPTYPE_BREAK; break;