Changeset View
Changeset View
Standalone View
Standalone View
sys/arm/arm/db_trace.c
Show First 20 Lines • Show All 124 Lines • ▼ Show 20 Lines | while (!finished) { | ||||
} else if (state->update_mask == 0) { | } else if (state->update_mask == 0) { | ||||
db_printf("Unwind failure (no registers changed)\n"); | db_printf("Unwind failure (no registers changed)\n"); | ||||
finished = true; | finished = true; | ||||
} | } | ||||
} | } | ||||
} | } | ||||
void | void | ||||
db_md_list_breakpoints(void) | |||||
{ | |||||
} | |||||
int | |||||
db_md_clr_breakpoint(db_expr_t addr, db_expr_t size) | |||||
{ | |||||
return (0); | |||||
imp: Shouldn't the stubs return failure? | |||||
andrewAuthorUnsubmitted Done Inline ActionsI copied the hardware watchpoint stubs. These all return 0 when not implemented. andrew: I copied the hardware watchpoint stubs. These all return 0 when not implemented. | |||||
} | |||||
int | |||||
db_md_set_breakpoint(db_expr_t addr, db_expr_t count) | |||||
{ | |||||
return (0); | |||||
} | |||||
void | |||||
db_md_list_watchpoints(void) | db_md_list_watchpoints(void) | ||||
{ | { | ||||
dbg_show_watchpoint(); | dbg_show_watchpoint(); | ||||
} | } | ||||
int | int | ||||
db_md_clr_watchpoint(db_expr_t addr, db_expr_t size) | db_md_clr_watchpoint(db_expr_t addr, db_expr_t size) | ||||
▲ Show 20 Lines • Show All 48 Lines • Show Last 20 Lines |
Shouldn't the stubs return failure?