Date: Fri, 17 Aug 2007 00:44:59 +0200 From: Juergen Lock <nox@jelal.kn-bremen.de> To: freebsd-hackers@FreeBSD.org Subject: debug kernels + -fomit-frame-pointer == unhappy gdb Message-ID: <20070816224459.GA18002@saturn.kn-bremen.de>
next in thread | raw e-mail | index | archive | help
Just got reminded of this... I noticed some kernel builds use -fomit-frame-pointer by default, even if you do a debug kernel. That kinda defeats the purpose since gdb uses the frame pointer when examining the stack, like, when doing backtraces, i.e. you lose function calls in backtraces when the kernel is built like that. So, should this be changed? Juergen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070816224459.GA18002>