On Tue, 22 Mar 2005 19:16:18 +0800 Yeo wrote: YSV> how to generate debug symbol so that i can use gdb to debug snmpd? YSV> YSV> I have added -g switch to the Makefile, but when i load snmpd in gdb, it YSV> still says (no debug symbols found).
Re-configure and specify '--with-cflags=-g', so that the flag is added to ALL makefiles... -- Robert Story; NET-SNMP Junkie Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp> Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders> You are lost in a twisty maze of little standards, all different. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
