Help to debugging the server using GDb
michael.joosten at c-lab.de
Wed Aug 23 23:49:34 CEST 2006
Alan DeKok wrote:
>Shankar Ganesh C <shankarganesh at tataelxsi.co.in>wrote:
>>I was trying to debug the radiusd through gbb.But the program is exiting out
>>below are the logs
> The logs don't show a problem.
> Perhaps you could give more information about what the problem is.
I'd guess Shankar just wanted to have radiusd stay in the foreground and
not "daemonize" itself... That would be
$ gdb /usr/local/bin/radiusd
b <some function>
Or, which is usually better, let radiusd initialize itself such that all
required modules and functions are loaded:
Listening on authentication *:1812
Listening on accounting *:1813
Ready to process requests.
^C (yes, Control-C)
break <your entry function for debugging>
and let your tests run.
More information about the Freeradius-Devel