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 v2 0/8] Support for Linux kernel debugging


Hi everybody

I finally managed to update the series and include your comments.  Thus
here is v2 with the changes described below.  In addition to this I
prepared a s390 coredump so you can test the code.  You can download it
here (~670 MB)

https://ibm.ent.box.com/v/lk-demo

See the contained README for more information.

Finally Andreas pushed the patches onto an private branch (users/arnez/lk) in
the GDB repository.  This should make working with Peter easier.

New in v2:

	* rebased to current master.
	* utils.h (startswith): Revert changes.
	(endswith): Make consistent with startswith.
	* s390-linux-tdep: Split up into a general s390-tdep, GNU/Linux
	s390-linux-tdep and Linux kernel s390-lk-tdep. This requires an
	anditional patch #6.
	* s390-lk-tedp (s390_lk_get_registers): Use fixed sized buffer.
	* lk-cmd.c (lk_lsmod_print_single_module): Fix memory corruption.
	* all-over: Change type of "cpu" variable int -> unsigned int.
	* all-over: Change type of "size" and "bit" variables in bitmap
	handling int -> size_t.
	* all-over: Use phex (...) to print addresses.
	* all-over: Fix missspellings and coding style violations.

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/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                         |    8 +
 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                          |  964 ++++++++++
 gdb/lk-low.h                          |  333 ++++
 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                 | 3419 +--------------------------------
 gdb/s390-linux-tdep.h                 |  178 +-
 gdb/s390-lk-tdep.c                    |  390 ++++
 gdb/s390-lk-tdep.h                    |   36 +
 gdb/s390-tdep.c                       | 3404 ++++++++++++++++++++++++++++++++
 gdb/s390-tdep.h                       |  381 ++++
 gdb/solib.c                           |    8 +
 gdb/solib.h                           |    5 +
 gdb/typeprint.c                       |    8 +-
 gdb/typeprint.h                       |    2 +
 gdb/utils.c                           |   88 +-
 gdb/utils.h                           |   26 +-
 35 files changed, 7073 insertions(+), 3624 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


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