Fix GDB breakpoint support.

This commit is contained in:
Daniel Beer 2012-04-30 08:52:12 +12:00
parent 2ce7a82657
commit 3517710455
1 changed files with 1 additions and 1 deletions

View File

@ -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;