GDB: lx-symbols undefined command

后端 未结 2 1860
长发绾君心
长发绾君心 2021-01-12 21:41

I am following the guide below: https://www.kernel.org/doc/Documentation/gdb-kernel-debugging.txt

When I try to load the module symbols using the command below: (gdb

2条回答
  •  情歌与酒
    2021-01-12 22:24

    add-auto-load-safe-path

    Usage:

    gdb -ex add-auto-load-safe-path /path/to/linux/kernel/source/root
    

    Now the GDB scripts are automatically loaded, and lx-symbols is available.

    Here is a minimal fully automated Buildroot + QEMU example with detailed instructions.

提交回复
热议问题