22 dbg_cmd_finish(
char *psz_amount)
25 unsigned int i_amount=0;
27 if (
'\0' != *psz_debugger_args) {
28 if (!
get_uint(psz_amount, &i_amount,
true))
34 for (i=0 ; p ; p = p->
p_parent, i++ ) {
35 if (i_amount == i)
break;
49 printf(
"Target level %u not found\n", i_amount);
51 printf(
"Level %u is too large; maximum value is %u.\n",
59 dbg_cmd_finish_init(
unsigned int c)
61 short_command[c].func = &dbg_cmd_finish;
62 short_command[c].use =
_(
"finish [AMOUNT]");
bool get_uint(const char *psz_arg, unsigned int *pi_result, bool b_warn)
struct variable * define_variable_in_set(const char *name, size_t length, const char *value, enum variable_origin origin, int recursive, struct variable_set *set, const gmk_floc *flocp)
target_stack_node_t * p_stack
file_t * p_shared_target
Definition: trace.h:82
debug_return_t
Definition: trace.h:32
#define _(msgid)
Definition: make.h:293
unsigned int i_debugger_nexting
Node for an item in the target call stack.
Definition: trace.h:79
breakpoint_mask_t tracing
Definition: filedef.h:95
Definition: variable.h:34
struct target_stack_node * p_parent
Definition: trace.h:83
target_stack_node_t * p_stack_top
unsigned int i_debugger_stepping