[PATCHv5 0/2] Restore thread and frame patches

Andrew Burgess
2020-11-12T11:59:26Z

Compared to v4:

- Fixed all the documentation issues raised by Eli and Baris.
- Rebased the code onto current master.

Thanks,
Andrew

---

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

gdb/ChangeLog | 34 ++
gdb/NEWS | 20 ++
gdb/doc/ChangeLog | 14 +
gdb/doc/gdb.texinfo | 42 ++-
gdb/frame.c | 26 ++
gdb/gdbthread.h | 13 +-
gdb/inferior.c | 58 ++-
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 | 61 +++-
14 files changed, 1160 insertions(+), 15 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