analysing ia64 core dumps

John Baldwin jhb at freebsd.org
Fri Sep 7 15:07:06 UTC 2012


On Thursday, September 06, 2012 4:57:31 am Anton Shterenlikht wrote:
> I'm trying to debug firefox and related on ia64.
> I was told in gecko@ to ask here about analysing core dumps.
> 
> I rebuilt and reinstalled /usr/src/lib/libthr with
>  DEBUG_FLAGS='-g -O0' 

You don't need -O0, probably just -g.  You should probably do this
for libc as well I think.  That might help your backtrace.  What I tend to do 
for these btw is build debug shared libraries and use LD_LIBRARY_PATH to
run my test program with those libraries rather than overwriting the main 
libraries in /lib.

-- 
John Baldwin


More information about the freebsd-hackers mailing list