From 1256eeda7dbe024134eb736a006a0e63a5e4fb70 Mon Sep 17 00:00:00 2001 From: Cary Coutant Date: Wed, 14 Oct 2009 23:48:01 +0000 Subject: [PATCH] 2009-10-14 Cary Coutant * dwarf2read.c (read_import_statement): Call follow_die_ref_or_sig. --- gdb/ChangeLog | 4 ++++ gdb/dwarf2read.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5ae8837504f..1fe412f4586 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2009-10-14 Cary Coutant + + * dwarf2read.c (read_import_statement): Call follow_die_ref_or_sig. + 2009-10-14 Keith Seitz * dwarf2read.c (dwarf2_const_value): Fix order of arguments to diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index e001494a05b..9bf89d79cd7 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) {