[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to build debug libraries and use with gdb?



On Saturday 18 January 2003 01:39 pm, Adam Kao wrote:
> Could someone explain or point me to an explanantion of how to build a
> library for debugging and use it with gdb?  Most of the libraries are
> now shared .so files, do I need to link them statically to debug them,
> if so how would I do that?  Gdb has add-symbol-file but that requires
> an address which I have no clue about.
>
May sound silly, but have you looked for libfoo-dbg? Many libraries in Debian 
have prepackaged -dbg versions, which include debugging symbols.

-- 
"das ist liebe, das ist hass / mit eifersucht vermahlen"



Reply to: