Date: Sat, 28 Aug 2010 00:28:05 +0300 From: Andriy Gapon <avg@icyb.net.ua> To: doc@FreeBSD.org, freebsd-hackers@FreeBSD.org Subject: Re: Debugging Loadable Modules Using GDB Message-ID: <4C782DE5.2030904@icyb.net.ua> In-Reply-To: <20100827201140.GA2812@debmaster-laptop> References: <20100827201140.GA2812@debmaster-laptop>
next in thread | previous in thread | raw e-mail | index | archive | help
on 27/08/2010 23:11 Alexander Fiveg said the following: > 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? I think the latter. .ko.symbols should work too [see relation between add-*symbol*-file and .ko.*symbols* ? :-) ] -- Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C782DE5.2030904>