如何从包含子目录的给定路径递归加载所有符号文件? [英] How to load all symbol-files recursively from given path including subdirectories?
本文介绍了如何从包含子目录的给定路径递归加载所有符号文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您可以使用以下命令将单个符号文件指向gdb:
You can point a single symbol file to gdb with command the:
symbol-file /usr/lib/debug/symbolfile.so
但是如何告诉gdb从包含子目录的给定路径加载所有符号文件? / p>
But how to tell gdb to load all symbol-files from given path including subdirectories?
推荐答案
在Linux系统上,您不应该使用 symbol-file
GDB命令在第一位。
On a Linux system, you should never have to use symbol-file
GDB command in the first place.
诀窍是准备您的二进制文件,使GDB将自动找到符号文件。这是非常容易做到的。详细的说明是这里。
The trick is to prepare your binaries in such a way that GDB will find the symbol file automatically. This is surprisingly easy to do. Detailed instructions are here.
这篇关于如何从包含子目录的给定路径递归加载所有符号文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文