diff options
author | David Taylor <taylor@redhat.com> | 2000-10-30 15:32:51 +0000 |
---|---|---|
committer | David Taylor <taylor@redhat.com> | 2000-10-30 15:32:51 +0000 |
commit | bb518678acdf8bdf3c7640c8d1dea7bba35e176a (patch) | |
tree | 085bacf758e7c90690c25e32a44bcec3232e0367 /gdb/tracepoint.c | |
parent | * ld-selective/selective.exp <no CXX>: Fix typo for argument to (diff) | |
download | binutils-gdb-bb518678acdf8bdf3c7640c8d1dea7bba35e176a.tar.gz binutils-gdb-bb518678acdf8bdf3c7640c8d1dea7bba35e176a.tar.bz2 binutils-gdb-bb518678acdf8bdf3c7640c8d1dea7bba35e176a.zip |
* 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/tracepoint.c')
-rw-r--r-- | gdb/tracepoint.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c index 02cf5f8d500..0f52a170fe6 100644 --- a/gdb/tracepoint.c +++ b/gdb/tracepoint.c @@ -465,7 +465,7 @@ tracepoints_info (char *tpnum_exp, int from_tty) int tpnum = -1; if (tpnum_exp) - tpnum = parse_and_eval_address (tpnum_exp); + tpnum = parse_and_eval_long (tpnum_exp); ALL_TRACEPOINTS (t) if (tpnum == -1 || tpnum == t->number) @@ -1986,7 +1986,7 @@ trace_find_command (char *args, int from_tty) frameno = traceframe_number - 1; } else - frameno = parse_and_eval_address (args); + frameno = parse_and_eval_long (args); if (frameno < -1) error ("invalid input (%d is less than zero)", frameno); |