* 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 29a29ff271942bbd4e3bc0d905877eb09612c563..92dab5115fe205ef40eb6bdac9869689a3c98327 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 5179a2fef681ac2c7a53d2f1635d7f9381d0193d..4f55c33adeadf9dc594049cda5d0c7648428152b 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);