problem when using ddd debuger on Linux

"Oz, Tal (Tal)" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <AAB4B3D3CF0F454F98272CBE187FDE2F06A75403@is0004avexu1.global.avaya.com>
I'm trying to use the debugger of Linux ( ddd ) with no success.
I compile all the files with -g option, but that didn't help.

when I try to run the snmpd using the debugger I got the following message:

(gdb) file /home/local_user/net-snmp-5.1.3/agent/.libs/snmpd
(gdb) run
No log handling enabled - turning on stderr logging
trace: main(): snmpd.c, 468:
signal: registering SIGTERM signal handler
trace: main(): snmpd.c, 472:
signal: registering SIGINT signal handler
trace: main(): snmpd.c, 476:
signal: registering SIGHUP signal handler
trace: main(): snmpd.c, 480:
signal: registering SIGUSR1 signal handler
trace: main(): snmpd.c, 484:
signal: registering SIGPIPE signal handler
trace: netsnmp_ds_set_boolean(): default_store.c, 191:
netsnmp_ds_set_boolean: Setting APP:3 = 0/False
trace: netsnmp_ds_set_int(): default_store.c, 243:
netsnmp_ds_set_int: Setting APP:4 = -1
trace: netsnmp_ds_set_int(): default_store.c, 243:
netsnmp_ds_set_int: Setting APP:5 = -1
trace: netsnmp_ds_set_boolean(): default_store.c, 191:
netsnmp_ds_set_boolean: Setting APP:1 = 0/False
daemonize: deamonizing...
daemonize: child continuing
daemonize: second fork returned 15068.
daemonize: first fork returned 15067.
daemonize: parent exiting

Program exited normally.
(gdb) 


What I should do in order to debug the net-snmp application using ddd ?

regards

Tal Oz
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.