mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-04-24 14:53:34 +08:00
* 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.
This commit is contained in:
parent
5dd42ef455
commit
0e828ed163
@ -1,3 +1,10 @@
|
||||
Thu Nov 16 09:47:57 2000 David Taylor <taylor@redhat.com>
|
||||
|
||||
* 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.
|
||||
|
||||
2000-11-15 Kevin Buettner <kevinb@redhat.com>
|
||||
|
||||
* xcoffread.c (arrange_linetable, xcoff_initial_scan): Protoize.
|
||||
|
@ -3852,7 +3852,7 @@ extern HIST_ENTRY *history_get (int);
|
||||
;
|
||||
else
|
||||
/* "info editing <exp>" should print around command number <exp>. */
|
||||
num = (parse_and_eval_address (args) - history_base) - Hist_print / 2;
|
||||
num = (parse_and_eval_long (args) - history_base) - Hist_print / 2;
|
||||
}
|
||||
/* "show commands" means print the last Hist_print commands. */
|
||||
else
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user