GDB: lx-symbols undefined command

后端 未结 2 1830
北恋
北恋 2021-01-12 22:00

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:16

    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.

提交回复
热议问题