debugging tip

Joe Maimon jmaimon at
Wed Sep 23 02:24:57 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.
> 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

Still feeling stupid.

root at jmdeb01:/tmp# LD_LIBRARY_PATH=/usr/lib/debug gdb freeradius
GNU gdb (GDB)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
(no debugging symbols found)

More information about the Freeradius-Devel mailing list