diff options
author | Jim Blandy <jimb@codesourcery.com> | 2000-07-24 17:07:26 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2000-07-24 17:07:26 +0000 |
commit | 8713b1b13530f47a2ab9c9a0d9b2ce0b2a1e2f79 (patch) | |
tree | f93b691a51a9b3738b864297d8de0dbc8bbe4a7f /gdb/dwarf2read.c | |
parent | 360e95866f697fdf0dd3fbdc8c0f3f2868f06de3 (diff) | |
download | gdb-8713b1b13530f47a2ab9c9a0d9b2ce0b2a1e2f79.zip gdb-8713b1b13530f47a2ab9c9a0d9b2ce0b2a1e2f79.tar.gz gdb-8713b1b13530f47a2ab9c9a0d9b2ce0b2a1e2f79.tar.bz2 |
* dwarf2read.c (read_structure_scope): Correct overzealous
addition of cu_header argument.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r-- | gdb/dwarf2read.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 6ec5c49..2f9b032 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -2220,7 +2220,7 @@ read_structure_scope (struct die_info *die, struct objfile *objfile, /* C++ static member. */ dwarf2_add_field (&fi, child_die, objfile, cu_header); } - else if (child_die->tag == DW_TAG_subprogram, cu_header) + else if (child_die->tag == DW_TAG_subprogram) { /* C++ member function. */ process_die (child_die, objfile, cu_header); |