This patchset will introduce 2 primary features:
1) Add gdb stack unwinding support for x86_64 CPU arch. (patch 1/5)
2) Enable gdb stack unwinding for arbitrary tasks. (patch 2/5)
This patchset is based on and should be applied on Aditya Gupta's
following patchset:
[PATCH v10 0/5] Improve stack unwind on ppc64
With this patchset, it enable crash with the ability to use gdb commands
in x86_64 as described in ppc64's cover letter [1].
[1]:
https://www.mail-archive.com/devel@lists.crash-utility.osci.io/msg00469.html
Tao Liu (5):
x86_64: Add gdb stack unwinding support
Enable crash to change gdb thread context
Stop stack unwinding at non-kernel address
Parse stack by inactive_stack_frame priorily if the struct is valid
ppc64: Enable live debug support for gdb stack unwinding
crash_target.c | 50 ++++++-----
defs.h | 21 ++++-
gdb-10.2.patch | 97 +++++----------------
gdb_interface.c | 21 +++++
kernel.c | 22 +++++
ppc64.c | 5 --
task.c | 5 +-
x86_64.c | 225 ++++++++++++++++++++++++++++++++++++++++++------
8 files changed, 315 insertions(+), 131 deletions(-)
--
2.40.1