25 dbg_cmd_delete(
char *psz_args)
30 if (!psz_args || !*psz_args) {
31 unsigned int breakpoints_removed = 0;
35 dbg_msg(
_(
"%u breakpoint(s) removed."), breakpoints_removed);
41 while ( psz_word && *psz_word ) {
42 if (
get_int(psz_word, &i_brkpt,
true)) {
52 dbg_cmd_delete_init(
unsigned int c)
54 short_command[c].func = &dbg_cmd_delete;
55 short_command[c].use =
_(
"delete BREAKPOINT_NUMBERS...");
unsigned int i_breakpoints
bool remove_breakpoint(unsigned int i, bool silent)
debug_return_t
Definition: trace.h:32
#define _(msgid)
Definition: make.h:293
char * get_word(char **ppsz_str)
bool get_int(const char *psz_arg, int *pi_result, bool b_warn)