[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-amd64/50128: amd64 debug build lacks kernel debug symbols
Martin Husemann wrote:
> One could argue that -fno-omit-frame-pointer should go into CPUFLAGS
> instead and -O2 into DEFCOPTS.
> But maybe you should just set CONFIGOPTS="-D DEBUG=-g" ?
I just tried that, but it seems to make things worse, not better:
./build.sh -j 4 -V MKDEBUG=YES -V COPTS="-g -fdebug-prefix-map=$(pwd)=/usr/src" -V CONFIGOPTS="-D DEBUG=-g" -O /tmp/obj.amd64 -m amd64 -U release sourcesets
# gdb /netbsd
Reading symbols from /netbsd...(no debugging symbols found)...done.
(gdb) l sys_sync
No symbol table is loaded. Use the "file" command.
Andreas Gustafsson, gson%gson.org@localhost
Main Index |
Thread Index |