Debugging Loadable Modules Using GDB

Andriy Gapon avg at icyb.net.ua
Mon Aug 30 16:30:45 UTC 2010


on 30/08/2010 19:12 Alexander Fiveg said the following:
> Yes, the .ko files are loaded automatically. The problem is that they do
> not contain debugging info. I have always to load the .kld file in order to 
> debug a module:
хытшзъ
> Is there any way to get the all symbols and needed debug info without
> loading the .kld file ?

As I've already suggested the symbols are in *.symbols files.
If you have those then they should be loaded automatically, as John has suggested.
If you don't have them, then arrange to have them.

-- 
Andriy Gapon


More information about the freebsd-hackers mailing list