On Tue, Oct 11, 2011 at 10:06 AM, Tom Tromey wrote: >>>>>> "Sterling" == Sterling Augustine writes: > > Thanks. > > Sterling> 2011-10-07  Sterling Augustine   > Sterling>        * dwarf2read.c (partial_die_parent_scope): Rearrange conditional logic. > > I think this line needs to wrap. Done. > Sterling> +if [get_compiler_info ${binfile} "c++"] { > Sterling> +    return -1 > Sterling> +} > > Does this really do anything? > (I don't know.) My dejagnu-fu is very weak, but this test is copied from rtti.exp, which includes it. The test works just fine without these lines on my machine, but perhaps that isn't the best indicator, so done. > This stanza can be replaced by clean_restart. Done. Updated patch attached. Sterling gdb/ChangeLog 2011-10-07 Sterling Augustine * dwarf2read.c (partial_die_parent_scope): Rearrange conditional logic. gdb/testsuite/gdb.cp/ChangeLog 2011-10-10 Sterling Augustine * gdb.cp/Makefile.in: Add namespace-enum test. * gdb.cp/namespace-enum.exp: New file. * gdb.cp/namespace-enum.c: New file. * gdb.cp/namespace-enum-main.c: New file.