summaryrefslogtreecommitdiff
path: root/gdb/infcmd.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/infcmd.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/infcmd.c')
-rw-r--r--gdb/infcmd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index 97a9b28fefd..d20cb432b55 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -381,7 +381,7 @@ continue_command (char *proc_count_exp, int from_tty)
while (num != 0)
{
set_ignore_count (num,
- parse_and_eval_address (proc_count_exp) - 1,
+ parse_and_eval_long (proc_count_exp) - 1,
from_tty);
/* set_ignore_count prints a message ending with a period.
So print two spaces before "Continuing.". */
@@ -465,7 +465,7 @@ step_1 (int skip_subroutines, int single_inst, char *count_string)
async_disable_stdin ();
}
- count = count_string ? parse_and_eval_address (count_string) : 1;
+ count = count_string ? parse_and_eval_long (count_string) : 1;
if (!single_inst || skip_subroutines) /* leave si command alone */
{
@@ -777,7 +777,7 @@ signal_command (char *signum_exp, int from_tty)
if (oursig == TARGET_SIGNAL_UNKNOWN)
{
/* No, try numeric. */
- int num = parse_and_eval_address (signum_exp);
+ int num = parse_and_eval_long (signum_exp);
if (num == 0)
oursig = TARGET_SIGNAL_0;