Bug 29768 - FAIL: gdb.base/rtld-step-nodebugsym.exp: continue until exit (the program is no longer running)
Summary: FAIL: gdb.base/rtld-step-nodebugsym.exp: continue until exit (the program is ...
Status: RESOLVED FIXED
Alias: None
Product: gdb
Classification: Unclassified
Component: gdb (show other bugs)
Version: HEAD
: P2 normal
Target Milestone: ---
Assignee: Lancelot SIX
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-09 20:30 UTC by Simon Marchi
Modified: 2022-11-10 09:47 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Marchi 2022-11-09 20:30:38 UTC
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)
Comment 1 Lancelot SIX 2022-11-09 22:04:14 UTC
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.
Comment 2 Lancelot SIX 2022-11-10 09:47:30 UTC
Fixed in f735116b3fb