Re: kernel module with debugging info

Robert Swindells <[email protected]> Tue, 25 Mar 2025 15:32:50 +0000
Newsgroups gmane.os.netbsd.devel.toolchain
Message-ID <[email protected]>
Peter Skvarka <[email protected]> wrote:
> I must correct my question.
>
> I need to debug kernel module or investigate core dump to see stack 
> where it crashes.
>
> I am trying to find how to retrieve base address of loaded kernel module 
> and how put debug symbols into gdb to debug it with two machines or to 
> investigate crash dump.
>
> Where can I found more info on this topic ?

Why not just build the driver into the kernel?

Deliver it as a module when it all works.