Re: Patch to make dwarf2 tests pass when dwarf-2 is not default

2015-07-08 Thread Jeff Law
On 07/08/2015 08:53 AM, Carlos Sánchez de La Lama wrote: 2015-07-08 Carlos Sánchez de La Lama * g++.dg/debug/dwarf2/*.C: generate dwarf-2 debug information even when dwarf-2 is not the default. Thanks. Installed on the trunk after verifying they didn't change the results of an

Patch to make dwarf2 tests pass when dwarf-2 is not default

2015-07-08 Thread Carlos Sánchez de La Lama
Currently, most tests in g++.dg/debug/dwarf2 include a "dg-options" line which passes "-g" to the compiler. This overrides the "-gdwarf-2" that appears in DEFAULT_CFLAGS in dwarf2.exp. As a consequence, default debug information is generated, which in systems when dwarf-2 is not the default makes