This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFC v3 0/8] Support for Linux kernel debugging
- From: Philipp Rudo <prudo at linux dot vnet dot ibm dot com>
- To: gdb-patches at sourceware dot org
- Cc: Yao Qi <yao dot qi at linaro dot org>, Peter Griffin <peter dot griffin at linaro dot org>, Omair Javaid <omair dot javaid at linaro dot org>, Andreas Arnez <arnez at linux dot vnet dot ibm dot com>
- Date: Thu, 16 Mar 2017 17:57:31 +0100
- Subject: [RFC v3 0/8] Support for Linux kernel debugging
- Authentication-results: sourceware.org; auth=none
Hi everybody
here is v3 of the patch series. Andreas also pushed it to a new branch
(users/arnez/lk3) on Sourceware.
To make colaboration easier and prevent merge conflicts we (Peter, Yao,
Andreas and I) decided to take v3 as the basis for further development.
That means future patches will be added on top of the branch and finally
merged to reasonable patches once the feature is ready to go upstream. I
hope there are no objections against this procedure.
New in v3:
* Rebase to current master.
* configure.tgt: Fix build bug when not compiled with
--enable-targets=all.
* Makefile.in: Move all lk-*.o files to ALL_TARGET_OBS.
* lk-low.c (lk_init_addr): Use lookup_minimal_symbol instead of parser.
(lk_init_struct): Use lookup_symbol instead of parser.
(lk_init_field): Adjust calling signature.
(lk_fetch_registers): Use ptid from regcache instead of inferior_ptid.
* lk-low.h: Adjust LK_*_FIELD macros.
Philipp Rudo (8):
Convert substitute_path_component to C++
Add libiberty/concat styled concat_path function
Add basic Linux kernel support
Add kernel module support for linux-kernel target
Add commands for linux-kernel target
Seperate common s390-tdep.* from s390-linux-tdep.*
Add privileged registers for s390x
Add S390 support for linux-kernel target
gdb/Makefile.in | 22 +
gdb/auto-load.c | 18 +-
gdb/common/common-utils.h | 11 +
gdb/configure.tgt | 9 +-
gdb/features/Makefile | 11 +-
gdb/features/s390-cr.xml | 26 +
gdb/features/s390x-cr-linux64.c | 99 +
gdb/features/s390x-cr-linux64.xml | 24 +
gdb/features/s390x-vxcr-linux64.c | 169 ++
gdb/features/s390x-vxcr-linux64.xml | 25 +
gdb/gdbarch.c | 31 +
gdb/gdbarch.h | 7 +
gdb/gdbarch.sh | 4 +
gdb/lk-cmds.c | 253 +++
gdb/lk-cmds.h | 25 +
gdb/lk-lists.c | 47 +
gdb/lk-lists.h | 56 +
gdb/lk-low.c | 937 +++++++++
gdb/lk-low.h | 334 ++++
gdb/lk-modules.c | 412 ++++
gdb/lk-modules.h | 29 +
gdb/regformats/s390x-cr-linux64.dat | 76 +
gdb/regformats/s390x-vxcr-linux64.dat | 108 ++
gdb/s390-linux-nat.c | 1 +
gdb/s390-linux-tdep.c | 3427 +--------------------------------
gdb/s390-linux-tdep.h | 178 +-
gdb/s390-lk-tdep.c | 390 ++++
gdb/s390-lk-tdep.h | 36 +
gdb/s390-tdep.c | 3408 ++++++++++++++++++++++++++++++++
gdb/s390-tdep.h | 384 ++++
gdb/solib.c | 8 +
gdb/solib.h | 5 +
gdb/typeprint.c | 8 +-
gdb/typeprint.h | 2 +
gdb/utils.c | 88 +-
gdb/utils.h | 26 +-
36 files changed, 7061 insertions(+), 3633 deletions(-)
create mode 100644 gdb/features/s390-cr.xml
create mode 100644 gdb/features/s390x-cr-linux64.c
create mode 100644 gdb/features/s390x-cr-linux64.xml
create mode 100644 gdb/features/s390x-vxcr-linux64.c
create mode 100644 gdb/features/s390x-vxcr-linux64.xml
create mode 100644 gdb/lk-cmds.c
create mode 100644 gdb/lk-cmds.h
create mode 100644 gdb/lk-lists.c
create mode 100644 gdb/lk-lists.h
create mode 100644 gdb/lk-low.c
create mode 100644 gdb/lk-low.h
create mode 100644 gdb/lk-modules.c
create mode 100644 gdb/lk-modules.h
create mode 100644 gdb/regformats/s390x-cr-linux64.dat
create mode 100644 gdb/regformats/s390x-vxcr-linux64.dat
create mode 100644 gdb/s390-lk-tdep.c
create mode 100644 gdb/s390-lk-tdep.h
create mode 100644 gdb/s390-tdep.c
create mode 100644 gdb/s390-tdep.h
--
2.8.4