From: Philipp Rudo <prudo@linux.vnet.ibm.com>
To: gdb-patches@sourceware.org
Cc: Yao Qi <yao.qi@linaro.org>,
Peter Griffin <peter.griffin@linaro.org>,
Omair Javaid <omair.javaid@linaro.org>,
Andreas Arnez <arnez@linux.vnet.ibm.com>
Subject: [RFC v3 0/8] Support for Linux kernel debugging
Date: Thu, 16 Mar 2017 16:57:00 -0000 [thread overview]
Message-ID: <20170316165739.88524-1-prudo@linux.vnet.ibm.com> (raw)
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
next reply other threads:[~2017-03-16 16:57 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-16 16:57 Philipp Rudo [this message]
2017-03-16 16:57 ` [RFC v3 1/8] Convert substitute_path_component to C++ Philipp Rudo
2017-04-20 20:02 ` Sergio Durigan Junior
2017-05-03 16:20 ` Philipp Rudo
2017-03-16 16:58 ` [RFC v3 2/8] Add libiberty/concat styled concat_path function Philipp Rudo
2017-03-16 16:58 ` [RFC v3 8/8] Add S390 support for linux-kernel target Philipp Rudo
2017-03-16 16:58 ` [RFC v3 3/8] Add basic Linux kernel support Philipp Rudo
2017-04-16 22:59 ` Omair Javaid
2017-05-03 14:38 ` Philipp Rudo
2017-04-20 11:09 ` Omair Javaid
2017-04-24 15:24 ` Andreas Arnez
2017-05-03 14:13 ` Omair Javaid
2017-05-03 15:20 ` Philipp Rudo
2017-05-03 14:38 ` Philipp Rudo
2017-05-02 11:14 ` Yao Qi
2017-05-03 15:36 ` Philipp Rudo
2017-05-07 23:54 ` Omair Javaid
[not found] ` <20170508132204.7a733dc2@ThinkPad>
[not found] ` <CADrjBPqijRQFH4jthAedFzOzMLchpyvM53aXc9grOCjS2YUNCw@mail.gmail.com>
2017-05-10 9:03 ` Philipp Rudo
2017-05-10 9:36 ` Philipp Rudo
2017-05-19 8:45 ` Yao Qi
2017-05-19 15:24 ` Andreas Arnez
2017-05-19 16:28 ` John Baldwin
2017-05-19 17:05 ` Andreas Arnez
2017-05-19 17:40 ` John Baldwin
2017-05-22 10:18 ` Andreas Arnez
2017-03-16 16:58 ` [RFC v3 5/8] Add commands for linux-kernel target Philipp Rudo
2017-03-16 16:58 ` [RFC v3 6/8] Seperate common s390-tdep.* from s390-linux-tdep.* Philipp Rudo
2017-03-16 16:58 ` [RFC v3 7/8] Add privileged registers for s390x Philipp Rudo
2017-03-16 16:58 ` [RFC v3 4/8] Add kernel module support for linux-kernel target Philipp Rudo
2017-05-02 13:15 ` Yao Qi
2017-05-03 16:16 ` Philipp Rudo
2017-05-05 21:33 ` Yao Qi
2017-05-08 9:18 ` Philipp Rudo
2017-05-08 13:05 ` Yao Qi via gdb-patches
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170316165739.88524-1-prudo@linux.vnet.ibm.com \
--to=prudo@linux.vnet.ibm.com \
--cc=arnez@linux.vnet.ibm.com \
--cc=gdb-patches@sourceware.org \
--cc=omair.javaid@linaro.org \
--cc=peter.griffin@linaro.org \
--cc=yao.qi@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox