* [Buildroot] Building a package for gdb debugging
@ 2010-09-24 18:13 H Hartley Sweeten
2010-09-27 9:00 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: H Hartley Sweeten @ 2010-09-24 18:13 UTC (permalink / raw)
To: buildroot
Hello all,
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?
Thanks,
Hartley
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Buildroot] Building a package for gdb debugging
2010-09-24 18:13 [Buildroot] Building a package for gdb debugging H Hartley Sweeten
@ 2010-09-27 9:00 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2010-09-27 9:00 UTC (permalink / raw)
To: buildroot
On Fri, 24 Sep 2010 13:13:57 -0500
H Hartley Sweeten <hartleys@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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-09-27 9:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-24 18:13 [Buildroot] Building a package for gdb debugging H Hartley Sweeten
2010-09-27 9:00 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox