* infcmd.c (GO_USAGE): Delete.
authorPedro Alves <palves@redhat.com>
Fri, 17 Oct 2008 23:39:32 +0000 (23:39 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 17 Oct 2008 23:39:32 +0000 (23:39 +0000)
(go_command): Adjust.

gdb/ChangeLog
gdb/infcmd.c

index 29a29ff..92dab51 100644 (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): 
index 5179a2f..4f55c33 100644 (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);