This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: New ARI warning Wed Jul 14 01:55:54 UTC 2010


> > gdb/dwarf2read.c:2284: gettext: trailing new line: A message should not have a trailing new line
> gdb/dwarf2read.c:2284:    warning (_("(Internal error: pc %s in read in CU, but not in symtab.)\n"),

I fixed that one thusly.  The warning seems incorrectly phrased, but
I left it alone.

2010-07-27  Joel Brobecker  <brobecker@adacore.com>

        * dwarf2read.c (dw2_find_pc_sect_symtab): Remove trailing newline
        in warning message.

-- 
Joel
Index: dwarf2read.c
===================================================================
RCS file: /cvs/src/src/gdb/dwarf2read.c,v
retrieving revision 1.427
diff -u -u -p -r1.427 dwarf2read.c
--- dwarf2read.c	27 Jul 2010 07:57:49 -0000	1.427
+++ dwarf2read.c	27 Jul 2010 16:15:27 -0000
@@ -2394,7 +2394,7 @@ dw2_find_pc_sect_symtab (struct objfile 
     return NULL;
 
   if (warn_if_readin && data->v.quick->symtab)
-    warning (_("(Internal error: pc %s in read in CU, but not in symtab.)\n"),
+    warning (_("(Internal error: pc %s in read in CU, but not in symtab.)"),
 	     paddress (get_objfile_arch (objfile), pc));
 
   return dw2_instantiate_symtab (objfile, data);

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]