Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Philipp Rudo <prudo@linux.vnet.ibm.com>
To: gdb-patches@sourceware.org
Cc: omair.javaid@linaro.org, yao.qi@linaro.org,
	peter.griffin@linaro.org,        arnez@linux.vnet.ibm.com
Subject: [RFC v4 0/9] Support for Linux kernel debugging
Date: Mon, 12 Jun 2017 17:08:00 -0000	[thread overview]
Message-ID: <20170612170836.25174-1-prudo@linux.vnet.ibm.com> (raw)

Hi everybody,

here is finally v4 of my patch set.

Despite the announcement made with v3, I turned away from the idea to only
add patches on top.  While the idea sounds good reality showed that
resolving all merge conflicts and splitting them up so they can easily be
squashed into the original commits is not that nice.

New in v4:
	* Rebase to current master (fd0219988d).
	* Add S390 kernel stack unwinder (requires new patch #8).
	* C++-ify module support.
	* Rewrite module relocation to mimic kernel better.
	* Adapt to new ptid_t API.
	* Update commit messages.
	* Fix some typos and coding style violations.

Philipp

Philipp Rudo (9):
  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
  Separate common s390-tdep.* from s390-linux-tdep.*
  Add privileged registers for s390x
  Link frame_info to thread_info
  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/frame.c                           |   12 +
 gdb/frame.h                           |    2 +
 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                          |  944 ++++++++
 gdb/lk-low.h                          |  338 +++
 gdb/lk-modules.c                      |  498 +++++
 gdb/lk-modules.h                      |  149 ++
 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                 | 3934 +++++----------------------------
 gdb/s390-linux-tdep.h                 |  178 +-
 gdb/s390-lk-tdep.c                    |  887 ++++++++
 gdb/s390-lk-tdep.h                    |   54 +
 gdb/s390-tdep.c                       | 2716 +++++++++++++++++++++++
 gdb/s390-tdep.h                       |  437 ++++
 gdb/solib.c                           |    8 +
 gdb/solib.h                           |    5 +
 gdb/typeprint.c                       |    8 +-
 gdb/typeprint.h                       |    2 +
 gdb/utils.c                           |   87 +-
 gdb/utils.h                           |   26 +-
 38 files changed, 7759 insertions(+), 3548 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.11.2


             reply	other threads:[~2017-06-12 17:08 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-12 17:08 Philipp Rudo [this message]
2017-06-12 17:08 ` [RFC v4 8/9] Link frame_info to thread_info Philipp Rudo
2017-06-19 13:07   ` Yao Qi
2017-06-19 15:46     ` Philipp Rudo
2017-06-12 17:08 ` [RFC v4 5/9] Add commands for linux-kernel target Philipp Rudo
2017-06-12 17:08 ` [RFC v4 2/9] Add libiberty/concat styled concat_path function Philipp Rudo
2017-06-12 17:08 ` [RFC v4 1/9] Convert substitute_path_component to C++ Philipp Rudo
2017-06-12 17:08 ` [RFC v4 3/9] Add basic Linux kernel support Philipp Rudo
2017-06-15 15:23   ` Yao Qi
2017-06-16 10:10     ` Philipp Rudo
2017-06-16 11:43       ` Pedro Alves
2017-06-19  7:56         ` Philipp Rudo
2017-06-19  9:52       ` Yao Qi
2017-06-19 13:35         ` Omair Javaid
2017-06-19 15:44         ` Philipp Rudo
2017-06-12 17:08 ` [RFC v4 7/9] Add privileged registers for s390x Philipp Rudo
2017-06-19 13:34   ` Yao Qi
2017-06-19 15:46     ` Philipp Rudo
2017-06-12 17:08 ` [RFC v4 4/9] Add kernel module support for linux-kernel target Philipp Rudo
2017-06-12 17:09 ` [RFC v4 6/9] Separate common s390-tdep.* from s390-linux-tdep.* Philipp Rudo
2017-06-12 17:39 ` [RFC v4 9/9] Add S390 support for linux-kernel target Philipp Rudo
2017-06-19 13:20   ` Yao Qi
2017-06-19 15:45     ` Philipp Rudo
2017-06-12 21:17 ` Philipp Rudo

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=20170612170836.25174-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