Re: Debug kernel panic with gdb?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 25, 2011 at 23:13, Arvid Brodin <arvid.brodin@xxxxxxxx> 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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux