[PATCHv2 0/2] Fix for an assertion when unwinding with inline frames

Andrew Burgess
2021-06-21T19:46:38Z

I pushed patches 1-3 of the V1 series as these were useful changes in
their own right.

The V2 series is just the last two patches of the original series
rebased onto current upstream master, there's no other changes.

Thanks,
Andrew

---

Andrew Burgess (2):
gdb: prevent an assertion when computing the frame_id for an inline
frame
gdb: remove VALUE_FRAME_ID

gdb/ChangeLog | 15 ++
gdb/frame.c | 61 +++++---
gdb/frame.h | 4 -
gdb/testsuite/ChangeLog | 10 ++
.../gdb.base/inline-frame-bad-unwind.c | 58 ++++++++
.../gdb.base/inline-frame-bad-unwind.exp | 139 ++++++++++++++++++
.../gdb.base/inline-frame-bad-unwind.py | 85 +++++++++++
gdb/valops.c | 17 ++-
gdb/value.c | 5 +-
gdb/value.h | 6 -
10 files changed, 362 insertions(+), 38 deletions(-)
create mode 100644 gdb/testsuite/gdb.base/inline-frame-bad-unwind.c
create mode 100644 gdb/testsuite/gdb.base/inline-frame-bad-unwind.exp
create mode 100644 gdb/testsuite/gdb.base/inline-frame-bad-unwind.py

--
2.25.4