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 -- 2.34.1