aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2000-07-24 17:07:26 +0000
committerJim Blandy <jimb@codesourcery.com>2000-07-24 17:07:26 +0000
commit8713b1b13530f47a2ab9c9a0d9b2ce0b2a1e2f79 (patch)
treef93b691a51a9b3738b864297d8de0dbc8bbe4a7f
parent360e95866f697fdf0dd3fbdc8c0f3f2868f06de3 (diff)
downloadgdb-8713b1b13530f47a2ab9c9a0d9b2ce0b2a1e2f79.zip
gdb-8713b1b13530f47a2ab9c9a0d9b2ce0b2a1e2f79.tar.gz
gdb-8713b1b13530f47a2ab9c9a0d9b2ce0b2a1e2f79.tar.bz2
* dwarf2read.c (read_structure_scope): Correct overzealous
addition of cu_header argument.
-rw-r--r--gdb/dwarf2read.c2
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);