diff options
Diffstat (limited to 'gdb/stap-probe.c')
-rw-r--r-- | gdb/stap-probe.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gdb/stap-probe.c b/gdb/stap-probe.c index 91f3c302c1d..6215b93935b 100644 --- a/gdb/stap-probe.c +++ b/gdb/stap-probe.c @@ -53,7 +53,7 @@ static const struct probe_ops stap_probe_ops; /* Should we display debug information for the probe's argument expression parsing? */ -static int stap_expression_debug = 0; +static unsigned int stap_expression_debug = 0; /* The various possibilities of bitness defined for a probe's argument. @@ -1533,15 +1533,15 @@ _initialize_stap_probe (void) { VEC_safe_push (probe_ops_cp, all_probe_ops, &stap_probe_ops); - add_setshow_zinteger_cmd ("stap-expression", class_maintenance, - &stap_expression_debug, - _("Set SystemTap expression debugging."), - _("Show SystemTap expression debugging."), - _("When non-zero, the internal representation " - "of SystemTap expressions will be printed."), - NULL, - show_stapexpressiondebug, - &setdebuglist, &showdebuglist); + add_setshow_zuinteger_cmd ("stap-expression", class_maintenance, + &stap_expression_debug, + _("Set SystemTap expression debugging."), + _("Show SystemTap expression debugging."), + _("When non-zero, the internal representation " + "of SystemTap expressions will be printed."), + NULL, + show_stapexpressiondebug, + &setdebuglist, &showdebuglist); create_internalvar_type_lazy ("_probe_argc", &probe_funcs, (void *) (uintptr_t) -1); |