How do I compile NetBSD kernel and userland with full debugging symbols

316 Views Asked by At

I am compiling NetBSD kernel and userland for ARM in NetBSD5.1

Libraries generated are not with debugging symbols. Is there any kernel which I can use to enable debugging for userland?

For e.g. libc.so.12 is stripped. I want unstripped with full debugging symbols

1

There are 1 best solutions below

0
On

To build with debugging symbols, add -VMKDEBUG=yes and -VMKDEBUGLIB=yes to your build.sh command line.

See share/mk/bsd.README for all the available build flags.