Re: How to build for debugging?


Subject: Re: How to build for debugging?
sterwill@abisource.com
Date: Wed Mar 01 2000 - 10:59:10 CST


Pierre Abbat wrote:
> I ran kdbg AbiWord_d and it shows no source code. How do I compile it so that
> it includes debugging information?

If you point gdb at AbiWord_d in an installed location (where "make install"
or an rpm package put it, like /usr/local/AbiSuite/bin), the binary
has probably been run through "strip" to remove its debugging information.
You should be able to use any binary in the abi/src/[platformhere]/bin
directory for debugging. You'll need to set ABISUITE_HOME to where
you installed AbiWord before (setenv ABISUITE_HOME /usr/local/AbiSuite)
and change the font path (xset fp+ /usr/local/AbiSuite/fonts) to debug
a binary this way.

-- 
Shaw Terwilliger



This archive was generated by hypermail 2b25 : Wed Mar 01 2000 - 10:59:11 CST