https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77931
Bug ID: 77931 Summary: PASS->FAIL: gdb.cp/namespace.exp: print ina Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: thopre01 at gcc dot gnu.org CC: rguenth at gcc dot gnu.org Target Milestone: --- Target: arm-none-eabi Hi, I've tracked the following GDB tests regression on arm-none-eabi targets to r240855. Keeping all components (gas, ld, gdb) fixed except for GCC confirmed GCC is the source of the regression. PASS->FAIL: gdb.cp/namespace.exp: print ina PASS->FAIL: gdb.cp/namespace.exp: ptype ina PASS->FAIL: gdb.cp/rtti.exp: print *e2 All three fail with the following error: No symbol "ina" in current context. (respectively e2 for the last testcase). I can see that indeed after the commit there is less debug info in namespace.cc (in particular the bits about ina is removed). Please let me know what dump would help you debug the issue. Best regards.