Re: Unable to debug snmpd with gdb, compiled with "-g"
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 2005-10-31 at 16:21 +0000, Bhartendu Maheshwari wrote: > I am trying to debug snmpd but unable to do so, the logs are dumped > below.... showing error as "no debugging symbols found". I am not able > to understand why? The file 'snmpd' is actually a shell-script wrapper round the real binary (which is hidden away in a Safe Place). This is probably confusing 'gdb' > [root@localhost sbin]# gdb snmpd Try running ../libtool gdb snmpd instead. That should pick up the real binary, and the various libraries. Dave ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users