[Buildroot] Building a package for gdb debugging
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Mon Sep 27 09:00:10 UTC 2010
On Fri, 24 Sep 2010 13:13:57 -0500
H Hartley Sweeten <hartleys at visionengravers.com> wrote:
> I need to build a package for debugging a segfault with gdb. Is there an
> easy way to pass the -g switch so that gcc compiles the program with
> debugging flags? Also, how can I keep the final executable from being
> stripped?
Enable BR2_ENABLE_DEBUG.
Regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
More information about the buildroot
mailing list