22 dbg_cmd_expand (
char *psz_string)
24 static char *psz_last_string = NULL;
26 if (!psz_string || !*psz_string) {
29 psz_string = psz_last_string;
31 printf(
"No current expand string - must supply something to print\n");
37 if (psz_last_string) free(psz_last_string);
38 psz_last_string = strdup(psz_string);
44 dbg_cmd_expand_init(
unsigned int c)
46 short_command[c].func = &dbg_cmd_expand;
47 short_command[c].use =
_(
"expand STRING");
debug_return_t
Definition: trace.h:32
bool dbg_cmd_show_exp(char *psz_arg, bool expand)
#define _(msgid)
Definition: make.h:293