Bug 31523 - step in from a place two frames deep in callstack skips over the entire program in rust
Summary: step in from a place two frames deep in callstack skips over the entire progr...
Status: UNCONFIRMED
Alias: None
Product: gdb
Classification: Unclassified
Component: rust (show other bugs)
Version: 14.1
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-21 18:03 UTC by Alexander Ivanov
Modified: 2024-03-21 18:03 UTC (History)
0 users

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 Alexander Ivanov 2024-03-21 18:03:49 UTC
this can be reproduced by

cloning https://github.com/m4b/bingrep/
building from commit d38de026f9054e6f1b49380fc23cd9e58241a032 with `cargo build`
running it in gdb like `gdb --args target/debug/bingrep <path to some binary>`

doing 
```
b 193
run
next
step
fin
step
fin
step
```

all is well until the last `step` which seems to skip the entire program
(the same `step` seems to behave well e.g. in lldb)

platform: Ubuntu 20.04, gdb 14.1, rust 1.75.0 , gdb/rust coming from nix unstable