From 8713b1b13530f47a2ab9c9a0d9b2ce0b2a1e2f79 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Mon, 24 Jul 2000 17:07:26 +0000 Subject: [PATCH] * dwarf2read.c (read_structure_scope): Correct overzealous addition of cu_header argument. --- gdb/dwarf2read.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 6ec5c493a3f..2f9b032715d 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); -- 2.30.2