From: Pedro Alves Date: Fri, 17 Oct 2008 23:39:32 +0000 (+0000) Subject: * infcmd.c (GO_USAGE): Delete. X-Git-Tag: sid-snapshot-20081201~351 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f42429a63f7458df14852132f85c576ce2524006;p=external%2Fbinutils.git * infcmd.c (GO_USAGE): Delete. (go_command): Adjust. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 29a29ff..92dab51 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2008-10-17 Pedro Alves + + * infcmd.c (GO_USAGE): Delete. + (go_command): Adjust. + 2008-10-17 Michael Snyder Target interface for reverse debugging. * target.h (enum target_waitkind): diff --git a/gdb/infcmd.c b/gdb/infcmd.c index 5179a2f..4f55c33 100644 --- a/gdb/infcmd.c +++ b/gdb/infcmd.c @@ -120,8 +120,6 @@ static int strip_bg_char (char **); void _initialize_infcmd (void); -#define GO_USAGE "Usage: go \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 \n")); else { tbreak_command (line_no, from_tty);