Thread (3 messages) 3 messages, 2 authors, 2011-03-25

Debug kernel panic with gdb?

From: Mulyadi Santosa <hidden>
Date: 2011-03-25 19:19:05

On Fri, Mar 25, 2011 at 23:13, Arvid Brodin [off-list ref] wrote:
To reply to my own email, the problem probably has to do with the fact that the
kernel is built with optimization. Modifying KBUILD_CFLAGS in the Makefile to
specify -O1 made things a lot better (although you still cannot rely completely
on the line number reported). Unfortunately, the kernel won't build with -O0.
make sure frame pointer is included too

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help