DS5 调试时需要看调试对应的源码,则可以使用 add-symbol-file 命令,symbol 可以是ko 或者是 vmlinux
add-symbol-file vmlinux
add-symbol-file myModule.ko
命令格式
add-symbol-file [] [-s ]…filename offset section address
具体可参考arm https://developer.arm.com/documentation/dui0452/z/ds-5-debugger-commands/ds-5-debugger-commands-listed-in-alphabetical-order/add-symbol-file