Patch 1 adds $lx_current([CPU]) support for s390 to obtain the task of
the active context or a specific CPU.
Patch 2 adds a $lx_lowcore([CPU]) convenience function on s390 to obtain
the s390 lowcore of the active context of a specific CPU. It is based
on functionality introduced by patch 1.
Patch 3 adds a $lx_cpu() convenience function to obtain the CPU number
of the active context.
Regards,
Jens
Jens Remus (3):
scripts/gdb: add lx_current support for s390
scripts/gdb: add lx_lowcore convenience function on s390
scripts/gdb: add lx_cpu convenience function
scripts/gdb/linux/constants.py.in | 14 +++++++
scripts/gdb/linux/cpus.py | 67 ++++++++++++++++++++++++++++++-
2 files changed, 80 insertions(+), 1 deletion(-)
--
2.51.0