summaryrefslogtreecommitdiff
path: root/gdb/infrun.c
diff options
context:
space:
mode:
authorDavid Taylor <taylor@redhat.com>2000-10-30 15:32:51 +0000
committerDavid Taylor <taylor@redhat.com>2000-10-30 15:32:51 +0000
commit56e4f499a1d0fce8cdb6b61ed15c1376691978ab (patch)
tree9738e7e630ae5d6ab3ef8cf8f100dba4deb9e25f /gdb/infrun.c
parent12c29b397f68e33a4a1f0cc83dad10956f9ebcde (diff)
downloadgdb-56e4f499a1d0fce8cdb6b61ed15c1376691978ab.tar.gz
* eval.c (parse_and_eval_long): New function.
* value.h: Declare it. * breakpoint.c (breakpoints_info, maintenance_info_breakpoints): Call parse_and_eval_long, not parse_and_eval_address. * command.c (do_setshow_command): Ditto. * infcmd.c (step_1, signal_command, continue_command): Ditto. * infrun.c (signals_info): Ditto. * stack.c (set_backtrace_limit_command, backtrace_command_1, up_silently_base, down_silently_base): Ditto. * tracepoints.c (tracepoints_info, trace_find_command, trace_find_tracepoint_command): Ditto. * valprint.c (set_radix): Ditto. * values.c (show_values): Ditto.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r--gdb/infrun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 4ff0fad10a8..c3cf023851e 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -3899,7 +3899,7 @@ signals_info (char *signum_exp, int from_tty)
{
/* No, try numeric. */
oursig =
- target_signal_from_command (parse_and_eval_address (signum_exp));
+ target_signal_from_command (parse_and_eval_long (signum_exp));
}
sig_print_info (oursig);
return;