On date Thursday 2009-01-15 19:35:44 +0200, Pekka Pessi phoned this:
> 2009/1/14 Stefano Sabatini <ssabat...@reilabs.com>:
> > I'm trying to debug sofia-sip.
> >
> > I'm configuring with this command:
> >
> > CFLAGS="$CFLAGS -ggdb -O0" ./configure --prefix=$HOME
> >
> > and I can see the symbols in the output libs and the same for the
> > lines of code (using nm -sol), yet it seems I cannot enter the
> > sofia functions with gdb.
> >
> > What am I missing? Do I need some special trick when configuring in
> > order to be able to debug sofia?
> 
> Nope, I do that all the time. ;-) Are you sure that you are loading
> with the library you have compiled with debug options, or does your
> application pull in a system library, for instance?

Doh, I'm stupid, I forgot to reset my LD_LIBRARY_PATH to some
meaningful value, now gdb and sofia are working as good pals and I
can debug sofia.

Much thanks!

Regards

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to