This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[RFC v4 0/9] Support for Linux kernel debugging


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]