aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2013-03-29 18:46:07 +0000
committerDoug Evans <dje@google.com>2013-03-29 18:46:07 +0000
commit6296d8c13f28f70398c2f42124eaa88670c2714b (patch)
tree6b52f0b3ef09093ec7333db79754ae314a5e2cd7
parentb0c7bfa9340055473115b9cb8edacd2293434d58 (diff)
downloadfsf-binutils-gdb-6296d8c13f28f70398c2f42124eaa88670c2714b.zip
fsf-binutils-gdb-6296d8c13f28f70398c2f42124eaa88670c2714b.tar.gz
fsf-binutils-gdb-6296d8c13f28f70398c2f42124eaa88670c2714b.tar.bz2
* dwarf2read.c (lookup_dwo_cutu): Improve complaint text.
-rw-r--r--gdb/ChangeLog2
-rw-r--r--gdb/dwarf2read.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 254b1ec..7467b40 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,7 @@
2013-03-29 Doug Evans <dje@google.com>
+ * dwarf2read.c (lookup_dwo_cutu): Improve complaint text.
+
* dwarf2read.c (read_cutu_die_from_dwo): New function.
(lookup_dwo_unit): New function.
(init_cutu_and_read_dies): Move DWO handling to new functions.
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index e960261..10861ac 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -9335,9 +9335,9 @@ lookup_dwo_cutu (struct dwarf2_per_cu_data *this_unit,
}
complaint (&symfile_complaints,
- _("Could not find DWO CU referenced by CU at offset 0x%x"
+ _("Could not find DWO %s referenced by CU at offset 0x%x"
" [in module %s]"),
- this_unit->offset.sect_off, objfile->name);
+ kind, this_unit->offset.sect_off, objfile->name);
return NULL;
}