[PATCHv2 0/8] gdb/scripts: Linux awareness debug commands

From: Kieran Bingham
Date: Mon Feb 22 2016 - 10:24:33 EST


Sending this revised series, which now provides ability to transfer configured
constants from the kernel to the python layer through the constants.py
infrastructure.

The iterators have been improved, in this instance thanks to the versions by
Jeff Mahoney on his py-kdump work; (which were better than mine, so I dropped
mine to replace with his)

Testing on an STM32, brought up a couple of issues with !CONFIG_MMU and
!CONFIG_MODULES which have been repaired, and further updates to both the
lx-mounts and lx-meminfo commands for fixes and improvements.

For convenience, this patch set submission can be found at
http://git.linaro.org/people/kieran.bingham/linux.git gdb-scripts-2016-02-22-lkml-submission

Kieran Bingham (8):
scripts/gdb: Provide linux constants
scripts/gdb: Provide a kernel list item generators
scripts/gdb: Convert modules usage to lists functions
scripts/gdb: Provide exception catching parser
scripts/gdb: Support !CONFIG_MODULES gracefully
scripts/gdb: Add io resource readers
scripts/gdb: Add mount point list command
scripts/gdb: Add meminfo command

Kbuild | 10 +
scripts/gdb/linux/Makefile | 12 +-
scripts/gdb/linux/constants.py.in | 87 +++++++++
scripts/gdb/linux/lists.py | 20 ++
scripts/gdb/linux/modules.py | 22 +--
scripts/gdb/linux/proc.py | 384 ++++++++++++++++++++++++++++++++++++++
scripts/gdb/linux/utils.py | 7 +
scripts/gdb/vmlinux-gdb.py | 1 +
8 files changed, 530 insertions(+), 13 deletions(-)
create mode 100644 scripts/gdb/linux/constants.py.in

--
2.5.0