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) {