aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);