forked from Imagelibrary/binutils-gdb
* 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user