ARI warning fix.
authorJoel Brobecker <brobecker@gnat.com>
Tue, 27 Apr 2010 16:36:02 +0000 (16:36 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Tue, 27 Apr 2010 16:36:02 +0000 (16:36 +0000)
        * python/py-auto-load.c (source_section_scripts): Remove trailing
        new-line in i18n string.

gdb/ChangeLog
gdb/python/py-auto-load.c

index 9f221fd6167e8aff0e172fb09b1e5f5a244b45c5..aa87a5c78d3a89ce61a4da56c1bd39c846637afd 100644 (file)
@@ -1,3 +1,9 @@
+2010-04-27  Joel Brobecker  <brobecker@adacore.com>
+
+       ARI warning fix.
+       * python/py-auto-load.c (source_section_scripts): Remove trailing
+       new-line in i18n string.
+
 2010-04-26  Doug Evans  <dje@google.com>
 
        * serial.c (serial_write): Handle serial_debug_p akin to serial_read.
index a06c126b32f94459d4aedff4f8e606ba4148627f..932ae68d0b19d878a9c4de7b011c0338bdaf3a37 100644 (file)
@@ -260,7 +260,7 @@ source_section_scripts (struct objfile *objfile, const char *source_name,
          /* We don't throw an error, the program is still debuggable.
             Check in_hash_table to only print the warning once.  */
          if (! in_hash_table)
-           warning (_("%s (referenced in %s): %s\n"),
+           warning (_("%s (referenced in %s): %s"),
                     file, GDBPY_AUTO_SECTION_NAME, safe_strerror (errno));
          continue;
        }