Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Aug 2010 22:11:41 +0200
From:      Alexander Fiveg <pebu3op@googlemail.com>
To:        doc@FreeBSD.org, freebsd-hackers@freebsd.org
Subject:   Debugging Loadable Modules Using GDB
Message-ID:  <20100827201140.GA2812@debmaster-laptop>

next in thread | raw e-mail | index | archive | help
Hi,
from "FreeBSD Developers' Handbook, 10.7 Debugging Loadable Modules Using
GDB":
"...
(kgdb) add-symbol-file /sys/modules/linux/linux.ko 0xc0ae22d0
...
"
Actually I couldn't debug my modules using .ko-file. Moreover, I've find out that .ko files do not contain sections with debugging info. With .kld-file debugging works out. Do I something incorrectly or the info in the Developers Book is outdated? 

regards, 
Alex

-- 
Alexander Fiveg <pebu3op@googlemail.com>
Key fingerprint = ECBB 747C 919D 78F5 E8EC  7DBC 8B46 376D 107B CCAA



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100827201140.GA2812>