# libtool gdb snmpd *** Warning: inferring the mode of operation is deprecated. *** Future versions of Libtool will require --mode=MODE be specified. GNU gdb 6.3 Copyright 2004 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 "sparc64-unknown-openbsd4.2"... (gdb) run -f -Lo -C -c /etc/snmp/snmpd.conf Starting program: /home/jforman/net-snmp-5.4.1/agent/.libs/snmpd -f -Lo -C -c /etc/snmp/snmpd.conf netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 netsnmp_subtree_load() netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 netsnmp_subtree_load() netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 netsnmp_subtree_load() ^C Program received signal SIGINT, Interrupt. 0x00000000480e4d78 in netsnmp_cpu_get_byIdx (idx=12359, create=1) at hardware/cpu/cpu.c:101 101 if ( !cpu2->next || cpu2->next->idx > idx ) { (gdb) bt #0 0x00000000480e4d78 in netsnmp_cpu_get_byIdx (idx=12359, create=1) at hardware/cpu/cpu.c:101 #1 0x00000000480e5668 in init_cpu_sysctl () at hardware/cpu/cpu_sysctl.c:46 #2 0x00000000480ebe90 in init_mib_modules () at mib_modules.c:94 #3 0x00000000001043a4 in main (argc=6, argv=0xffffffffffff13e8) at snmpd.c:901