aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2read.c
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2009-10-14 23:48:01 +0000
committerCary Coutant <ccoutant@google.com>2009-10-14 23:48:01 +0000
commit1256eeda7dbe024134eb736a006a0e63a5e4fb70 (patch)
treefd929b14239454ba4a432db29dd449fc040b1666 /gdb/dwarf2read.c
parent0aa3b0e6e6107262ee3152d2736afa1b483017c5 (diff)
downloadgdb-1256eeda7dbe024134eb736a006a0e63a5e4fb70.zip
gdb-1256eeda7dbe024134eb736a006a0e63a5e4fb70.tar.gz
gdb-1256eeda7dbe024134eb736a006a0e63a5e4fb70.tar.bz2
2009-10-14 Cary Coutant <ccoutant@google.com>
* dwarf2read.c (read_import_statement): Call follow_die_ref_or_sig.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r--gdb/dwarf2read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index e001494..9bf89d7 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -3365,7 +3365,7 @@ read_import_statement (struct die_info *die, struct dwarf2_cu *cu)
return;
}
- imported_die = follow_die_ref (die, import_attr, &cu);
+ imported_die = follow_die_ref_or_sig (die, import_attr, &cu);
imported_name = dwarf2_name (imported_die, cu);
if (imported_name == NULL)
{