This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: New ARI warning Wed Jul 14 01:55:54 UTC 2010
- From: Joel Brobecker <brobecker at adacore dot com>
- To: GDB Administrator <gdbadmin at sourceware dot org>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 27 Jul 2010 09:18:23 -0700
- Subject: Re: New ARI warning Wed Jul 14 01:55:54 UTC 2010
- References: <20100714015555.GA13409@sourceware.org>
> > 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);