https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83199
Bug ID: 83199 Summary: FAIL: gdb.base/async.exp & gdb.base/skip.exp Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: wrong-debug Severity: normal Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: thopre01 at gcc dot gnu.org CC: jakub at gcc dot gnu.org Target Milestone: --- Target: arm-none-eabi Hi, The following tests regressed on arm-none-eabi targets after r254010: PASS->FAIL: gdb.base/async.exp: nexti& PASS->FAIL: gdb.base/async.exp: finish& PASS->FAIL: gdb.base/skip.exp: step after disabling 3: step 3 PASS->FAIL: gdb.base/skip.exp: step after disabling 3: step 5 PASS->FAIL: gdb.base/skip.exp: step using -fu for baz: step 3 PASS->FAIL: gdb.base/skip.exp: step using -fu for baz: step 5 PASS->FAIL: gdb.base/skip.exp: step using -rfu for baz: step 3 PASS->FAIL: gdb.base/skip.exp: step using -rfu for baz: step 5 GCC was configured as: --target=arm-none-eabi --with-newlib --with-mode=thumb --with-cpu=cortex-m3 The 2 async tests fail because the addresses are missing: -(gdb) 0x00008172 9 x = 5; x = 5; x = 5; +(gdb) 9 x = 5; x = 5; x = 5; -Run till exit from #0 0x00008172 in foo () +Run till exit from #0 foo () The skip tests fail because the wrong line is shown by gdb after doing step.