[PATCHv7 0/2] Restore thread and frame patches

Andrew Burgess
2021-02-12T18:21:05Z

In comparison to v7:

- Update to current master, and retest.

Thanks,
Andrew

---

Andrew Burgess (2):
gdb: Restore previously selected thread when switching inferior
gdb: Track the current frame for each thread

gdb/ChangeLog | 36 ++
gdb/NEWS | 20 ++
gdb/doc/ChangeLog | 14 +
gdb/doc/gdb.texinfo | 42 ++-
gdb/frame.c | 29 ++
gdb/frame.h | 46 ++-
gdb/gdbthread.h | 13 +-
gdb/inferior.c | 60 +++-
gdb/inferior.h | 9 +
gdb/testsuite/ChangeLog | 10 +
.../gdb.threads/restore-selected-frame.c | 85 +++++
.../gdb.threads/restore-selected-frame.exp | 336 ++++++++++++++++++
gdb/testsuite/gdb.threads/restore-thread.c | 248 +++++++++++++
gdb/testsuite/gdb.threads/restore-thread.exp | 219 ++++++++++++
gdb/thread.c | 62 +++-
15 files changed, 1195 insertions(+), 34 deletions(-)
create mode 100644 gdb/testsuite/gdb.threads/restore-selected-frame.c
create mode 100644 gdb/testsuite/gdb.threads/restore-selected-frame.exp
create mode 100644 gdb/testsuite/gdb.threads/restore-thread.c
create mode 100644 gdb/testsuite/gdb.threads/restore-thread.exp

--
2.25.4