How to add "-g" to the Makefile?

ruifeng yang yrffren at gmail.com
Wed Jun 3 03:34:12 UTC 2009


Hello everyone:

   I am reading the busybox's sources,the busybox version is 1.13.4.
I want to debugg the source code:
   How to add "-g" to the Makefile?

   [root at beijing2008 busybox-1.13.4]# gdb busybox
GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...(no debugging symbols
found)...
(gdb) quit
[root at beijing2008 busybox-1.13.4]#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20090603/c6ecd543/attachment-0001.htm>


More information about the busybox mailing list