Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to load all symbol-files recursively from given path including subdirectories?

You can point a single symbol file to gdb with command the:

symbol-file /usr/lib/debug/symbolfile.so

But how to tell gdb to load all symbol-files from given path including subdirectories?

like image 929
user44556 Avatar asked May 14 '10 09:05

user44556


1 Answers

On a Linux system, you should never have to use symbol-file GDB command in the first place.

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.

like image 162
Employed Russian Avatar answered Nov 01 '22 13:11

Employed Russian