[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1452171138-22691-1-git-send-email-kieran.bingham@linaro.org>
Date: Thu, 7 Jan 2016 12:52:16 +0000
From: Kieran Bingham <kieran.bingham@...aro.org>
To: jan.kiszka@...mens.com, linux-kernel@...r.kernel.org
Cc: peter.griffin@...aro.org, lee.jones@...aro.org,
maxime.coquelin@...com, Kieran Bingham <kieran.bingham@...aro.org>
Subject: [PATCH 0/2] Linux Kernel Debugger GDB extensions
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists