diff options
author | David Taylor <taylor@redhat.com> | 2000-11-16 14:51:50 +0000 |
---|---|---|
committer | David Taylor <taylor@redhat.com> | 2000-11-16 14:51:50 +0000 |
commit | 0e828ed16355f173bcf2f6950fb21c86c7ffb9fe (patch) | |
tree | 9eb9e542572a3333e1f70d7bfb7e6545eaf3287e /gdb/tracepoint.c | |
parent | 5dd42ef455069a3a7787c177ffdf5789d7cebed1 (diff) | |
download | gdb-0e828ed16355f173bcf2f6950fb21c86c7ffb9fe.zip gdb-0e828ed16355f173bcf2f6950fb21c86c7ffb9fe.tar.gz gdb-0e828ed16355f173bcf2f6950fb21c86c7ffb9fe.tar.bz2 |
* tracepoint.c (trace_find_tracepoint_command): Replace call to
parse_and_eval_address with a call to parse_and_eval_long as
we are evaluating an integer, not an address.
* top.c (show_commands): Ditto.
Diffstat (limited to 'gdb/tracepoint.c')
-rw-r--r-- | gdb/tracepoint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c index 8c229d4..6ac3759 100644 --- a/gdb/tracepoint.c +++ b/gdb/tracepoint.c @@ -2055,7 +2055,7 @@ trace_find_tracepoint_command (char *args, int from_tty) else tdp = tracepoint_number; /* default is current TDP */ else - tdp = parse_and_eval_address (args); + tdp = parse_and_eval_long (args); sprintf (target_buf, "QTFrame:tdp:%x", tdp); finish_tfind_command (target_buf, sizeof (target_buf), from_tty); |