debugging tip
Joe Maimon
jmaimon at ttec.com
Wed Sep 23 02:46:18 CEST 2009
John Morrissey wrote:
> On Tue, Sep 22, 2009 at 01:55:35PM -0400, Joe Maimon wrote:
>> Debian build a freeradius-dbg package.
>>
>> How do I get gdb to use these symbols with the minimum of fuss?
>>
>> I must be missing something basic.
>
> Set LD_LIBRARY_PATH:
>
> LD_LIBRARY_PATH=/usr/lib/debug gdb freeradius
>
> If you're attaching to a running freeradius process, freeradius needs to be
> started with LD_LIBRARY_PATH, too.
>
> john
Never mind, it helps to have matching binaries and debug packages.
Thanks.
More information about the Freeradius-Devel
mailing list