Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Sep 2012 10:49:11 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-hackers@freebsd.org, mexas@bristol.ac.uk
Cc:        freebsd-ia64@freebsd.org
Subject:   Re: analysing ia64 core dumps
Message-ID:  <201209071049.11682.jhb@freebsd.org>
In-Reply-To: <201209060857.q868vVKP098573@mech-cluster241.men.bris.ac.uk>
References:  <201209060857.q868vVKP098573@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209071049.11682.jhb>