All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Linux Kernel Debugger GDB extensions
@ 2016-01-07 12:52 Kieran Bingham
  2016-01-07 12:52 ` [PATCH 1/2] scripts/gdb: Add version command Kieran Bingham
  2016-01-07 12:52 ` [PATCH 2/2] scripts/gdb: Add cmdline reader command Kieran Bingham
  0 siblings, 2 replies; 6+ messages in thread
From: Kieran Bingham @ 2016-01-07 12:52 UTC (permalink / raw)
  To: jan.kiszka, linux-kernel
  Cc: peter.griffin, lee.jones, maxime.coquelin, Kieran Bingham

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


^ permalink raw reply	[flat|nested] 6+ messages in thread
* [PATCH 0/2] scripts/gdb: Updates for 4.5
@ 2016-01-11 10:47 Jan Kiszka
  2016-01-11 10:47 ` [PATCH 1/2] scripts/gdb: Add version command Jan Kiszka
  0 siblings, 1 reply; 6+ messages in thread
From: Jan Kiszka @ 2016-01-11 10:47 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, Kieran Bingham

Hi Andrew,

please include the following enhancements for the gdb scripts in your
queue.

Jan


CC: Kieran Bingham <kieran.bingham@linaro.org>

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

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

-- 
2.1.4

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-01-11 11:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-07 12:52 [PATCH 0/2] Linux Kernel Debugger GDB extensions Kieran Bingham
2016-01-07 12:52 ` [PATCH 1/2] scripts/gdb: Add version command Kieran Bingham
2016-01-09 16:02   ` Jan Kiszka
2016-01-09 16:29     ` Kieran Bingham
2016-01-07 12:52 ` [PATCH 2/2] scripts/gdb: Add cmdline reader command Kieran Bingham
  -- strict thread matches above, loose matches on Subject: below --
2016-01-11 10:47 [PATCH 0/2] scripts/gdb: Updates for 4.5 Jan Kiszka
2016-01-11 10:47 ` [PATCH 1/2] scripts/gdb: Add version command Jan Kiszka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.