Fix GDB breakpoint support.
This commit is contained in:
parent
2ce7a82657
commit
3517710455
2
ui/gdb.c
2
ui/gdb.c
|
@ -323,8 +323,8 @@ static int set_breakpoint(struct gdb_data *data, int enable, char *buf)
|
||||||
return gdb_send(data, "E00");
|
return gdb_send(data, "E00");
|
||||||
}
|
}
|
||||||
|
|
||||||
/* We only support breakpoints */
|
|
||||||
switch (atoi(parts[0])) {
|
switch (atoi(parts[0])) {
|
||||||
|
case 0:
|
||||||
case 1:
|
case 1:
|
||||||
type = DEVICE_BPTYPE_BREAK;
|
type = DEVICE_BPTYPE_BREAK;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue