Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1303566

[PATCH 0/2] Linux Kernel Debugger GDB extensions

From Kieran Bingham <kieran.bingham@linaro.org>
Newsgroups linux.kernel
Subject [PATCH 0/2] Linux Kernel Debugger GDB extensions
Date 2016-01-07 14:00 +0100
Message-ID <qOiky-8ew-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


ST Microelectronics provides a set of debugging tools, customised to attach
and debug a running (or crashed) linux kernel based on GDB. As part of working
towards providing this functionality upstream, a number of commands can be
written using the new CONFIG_GDB_SCRIPTS facilities.

Here, as a means to introducing the work which is ongoing, are two initial
(simple) commands which allow the user to identify the kernel version and
command line used to boot.

 lx-cmdline  Report the Linux Commandline used in the current kernel.
 lx-version  Report the Linux Version of the current kernel.

Based on the existing LKD project, follow up work will aim to provide similar
facilities for:
	/proc/iomem
	/proc/ioports
	/proc/mounts
	/proc/interrupts
	/proc/meminfo

The larger scale project also aims to provide thread integration into GDB,
and userspace frame walking where possible.

Kieran Bingham (2):
  scripts/gdb: Add version command
  scripts/gdb: Add cmdline reader command

 scripts/gdb/linux/proc.py  | 40 ++++++++++++++++++++++++++++++++++++++++
 scripts/gdb/vmlinux-gdb.py |  1 +
 2 files changed, 41 insertions(+)
 create mode 100644 scripts/gdb/linux/proc.py

-- 
2.5.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] Linux Kernel Debugger GDB extensions Kieran Bingham <kieran.bingham@linaro.org> - 2016-01-07 14:00 +0100
  [PATCH 2/2] scripts/gdb: Add cmdline reader command Kieran Bingham <kieran.bingham@linaro.org> - 2016-01-07 14:00 +0100
  [PATCH 1/2] scripts/gdb: Add version command Kieran Bingham <kieran.bingham@linaro.org> - 2016-01-07 14:00 +0100
    Re: [PATCH 1/2] scripts/gdb: Add version command Jan Kiszka <jan.kiszka@web.de> - 2016-01-09 17:10 +0100
      Re: [PATCH 1/2] scripts/gdb: Add version command Kieran Bingham <kieran.bingham@linaro.org> - 2016-01-09 17:30 +0100

csiph-web