* infcmd.c (GO_USAGE): Delete.

(go_command): Adjust.
This commit is contained in:
Pedro Alves 2008-10-17 23:39:32 +00:00
parent bacec72f1d
commit f42429a63f
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2008-10-17 Pedro Alves <pedro@codesourcery.com>
* infcmd.c (GO_USAGE): Delete.
(go_command): Adjust.
2008-10-17 Michael Snyder <msnyder@vmware.com>
Target interface for reverse debugging.
* target.h (enum target_waitkind):

View File

@ -120,8 +120,6 @@ static int strip_bg_char (char **);
void _initialize_infcmd (void);
#define GO_USAGE "Usage: go <location>\n"
#define ERROR_NO_INFERIOR \
if (!target_has_execution) error (_("The program is not being run."));
@ -1055,7 +1053,7 @@ static void
go_command (char *line_no, int from_tty)
{
if (line_no == (char *) NULL || !*line_no)
printf_filtered (GO_USAGE);
printf_filtered (_("Usage: go <location>\n"));
else
{
tbreak_command (line_no, from_tty);