aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2read.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2011-09-01 07:17:46 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2011-09-01 07:17:46 +0000
commit9655e94382ad0bbaea3c1e3ab0dc75b3d367541b (patch)
tree96268f903e0d48db31fa9a76b83398ebd5f52a9b /gdb/dwarf2read.c
parent943ca1dd02e2e88cb07e4a342d2b734694601714 (diff)
downloadgdb-9655e94382ad0bbaea3c1e3ab0dc75b3d367541b.zip
gdb-9655e94382ad0bbaea3c1e3ab0dc75b3d367541b.tar.gz
gdb-9655e94382ad0bbaea3c1e3ab0dc75b3d367541b.tar.bz2
gdb/
Revert: 2010-05-21 Pierre Muller <muller@ics.u-strasbg.fr> * dwarf2read.c (new_symbol): Handle DW_AT_variable_parameter attribute. gdb/testsuite/ * dw2-ifort-parameter-debug.S: New file. * dw2-ifort-parameter.c: New file. * dw2-ifort-parameter.exp: New file.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r--gdb/dwarf2read.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index f66c1d9..9e0a0ef 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -11578,14 +11578,6 @@ new_symbol_full (struct die_info *die, struct type *type, struct dwarf2_cu *cu,
{
dwarf2_const_value (attr, sym, cu);
}
- attr = dwarf2_attr (die, DW_AT_variable_parameter, cu);
- if (attr && DW_UNSND (attr))
- {
- struct type *ref_type;
-
- ref_type = lookup_reference_type (SYMBOL_TYPE (sym));
- SYMBOL_TYPE (sym) = ref_type;
- }
list_to_add = cu->list_in_scope;
break;