On 27 December 2011 16:20, Ravi Kumar <mynets...@gmail.com> wrote: >> I used libtool with gdb as below. But still complete symbols are not >> being loaded it seems. >> I tried to set break point for header_complex of header_complex.c but gdb >> reports Function "header_complex" not defined error.
It's not actually an error - more of a warning. The routine 'header_complex' is defined within the library 'libnetsnmpmibs' so is not present within the 'snmpd' binary - hence the message you get when you try to set a breakpoint. However, when the agent is actually run, then it will pull in the shared libraries, at which point the location of this routine will be known to gdb, and it can make the breakpoint active. You gave up too soon! Dave ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders