panic_action and GDB/LLDB
Alan DeKok
aland at deployingradius.com
Wed Nov 5 17:45:37 CET 2014
Sam Hartman wrote:
> Hmm, I actually expect that programs will not change their behavior when
> under a debugger.
I agree.
The underlying reason for the changes was the idea to catch fatal
signals in normal circumstances. i.e. rather than simply exiting, print
out a stack trace of where the problem came from.
Once that code went in, the normal gdb workflow didn't work. Which
necessitated fixes to the debugging code... and down the rabbit hole we
went.
> I've been debugging fatal signals in freeradius a fair bit recently and
> I have always seen the debugger behave as I expect.
<sigh> lldb. It hates people.
Alan DeKok.
More information about the Freeradius-Devel
mailing list