debugging tip

John Morrissey jwm at horde.net
Tue Sep 22 23:48:46 CEST 2009


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
-- 
John Morrissey          _o            /\         ----  __o
jwm at horde.net        _-< \_          /  \       ----  <  \,
www.horde.net/    __(_)/_(_)________/    \_______(_) /_(_)__



More information about the Freeradius-Devel mailing list