mbox series

[v3,0/5] Fix some GDB command error and add some GDB commands

Message ID 20240723064902.124154-1-kuan-ying.lee@canonical.com (mailing list archive)
Headers show
Series Fix some GDB command error and add some GDB commands | expand

Message

Kuan-Ying Lee July 23, 2024, 6:48 a.m. UTC
Fix some GDB command errors and add some useful GDB commands.

Patch 1:
 - Fix timerlist parsing issue
Patch 2-3:
 - Add rbtree inorder traverse.
 - Fix 'lx-mounts' command error.
Patch 4:
 - Add 'lx-stack_depot_lookup' command to provides
   users with backtrace of a handle.
Patch 5:
 - Add 'lx-kasan_mem_to_shadow' command to translate
   the memory address to kasan shadow memory address.

v1->v2:
 - Add patch to fix 'lx-mounts' and 'lx-timerlist' gdb command errors.

v2->v3:
 - Rebase on linux-next:next-20240722.

Kuan-Ying Lee (5):
  scripts/gdb: fix timerlist parsing issue
  scripts/gdb: add iteration function for rbtree
  scripts/gdb: fix lx-mounts command error
  scripts/gdb: Add 'lx-stack_depot_lookup' command.
  scripts/gdb: Add 'lx-kasan_mem_to_shadow' command

 scripts/gdb/linux/kasan.py      | 44 +++++++++++++++++++++++++++++++++
 scripts/gdb/linux/proc.py       |  4 +--
 scripts/gdb/linux/rbtree.py     | 12 +++++++++
 scripts/gdb/linux/stackdepot.py | 27 ++++++++++++++++++++
 scripts/gdb/linux/timerlist.py  | 31 ++++++++++++-----------
 scripts/gdb/vmlinux-gdb.py      |  1 +
 6 files changed, 102 insertions(+), 17 deletions(-)
 create mode 100644 scripts/gdb/linux/kasan.py