All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kieran Bingham <kieran.bingham@linaro.org>
To: jan.kiszka@siemens.com, linux-kernel@vger.kernel.org
Cc: peter.griffin@linaro.org, lee.jones@linaro.org,
	maxime.coquelin@st.com,
	Kieran Bingham <kieran.bingham@linaro.org>
Subject: [PATCH 0/2] Linux Kernel Debugger GDB extensions
Date: Thu,  7 Jan 2016 12:52:16 +0000	[thread overview]
Message-ID: <1452171138-22691-1-git-send-email-kieran.bingham@linaro.org> (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


             reply	other threads:[~2016-01-07 12:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-07 12:52 Kieran Bingham [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1452171138-22691-1-git-send-email-kieran.bingham@linaro.org \
    --to=kieran.bingham@linaro.org \
    --cc=jan.kiszka@siemens.com \
    --cc=lee.jones@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maxime.coquelin@st.com \
    --cc=peter.griffin@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.