* 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:
David Taylor
2000-11-16 14:51:50 +00:00
parent 5dd42ef455
commit 0e828ed163
3 changed files with 9 additions and 2 deletions

View File

@ -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);