aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2010-07-27 16:16:32 +0000
committerJoel Brobecker <brobecker@gnat.com>2010-07-27 16:16:32 +0000
commitabebb8b041dd3eb136abd41181287992f061bf13 (patch)
treecf849c06c8b1c9cb11c40e328e78108a16065584
parent5374244e7a2a4849211f94c40762cde79ba1e08e (diff)
downloadgdb-abebb8b041dd3eb136abd41181287992f061bf13.zip
gdb-abebb8b041dd3eb136abd41181287992f061bf13.tar.gz
gdb-abebb8b041dd3eb136abd41181287992f061bf13.tar.bz2
ARI fix (trailing newline in warning message).
* dwarf2read.c (dw2_find_pc_sect_symtab): Remove trailing newline in warning message.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/dwarf2read.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c865a02..d819e5d 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2010-07-27 Joel Brobecker <brobecker@adacore.com>
+
+ * dwarf2read.c (dw2_find_pc_sect_symtab): Remove trailing newline
+ in warning message.
+
2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
* python/py-value.c (valpy_call): New Function.
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 590e695..65de931 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -2394,7 +2394,7 @@ dw2_find_pc_sect_symtab (struct objfile *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);