debug kernels + -fomit-frame-pointer == unhappy gdb

看板FB_hackers作者時間18年前 (2007/08/17 11:39), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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 _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
文章代碼(AID): #16nHYB00 (FB_hackers)