On Ubuntu 22.04, I see this new failure: (gdb) step^M Single stepping until exit from function main,^M which has no line number information.^M hello world[Inferior 1 (process 48203) exited normally]^M (gdb) PASS: gdb.base/rtld-step-nodebugsym.exp: step continue^M The program is not being run.^M (gdb) FAIL: gdb.base/rtld-step-nodebugsym.exp: continue until exit (the program is no longer running)
I was able to reproduce this. The test assumes that we have debug info for the libc. We can safely remove the "gdb_continue_to_end "" continue 1" at the end of the test. It brings nothing to the test itself.
Fixed in f735116b3fb