Re: Debug library usage

New Message Reply Date view Thread view Subject view Author view

From: Tom Flynn (flynnt++at++engr.sgi.com)
Date: 10/01/2001 13:47:58


Correct. However, you can compile -g -O (that's how the performer debug
libs are built). So long as what you're debugging isn't inline'd, you
should be able to debug just fine with gdb.
-tom

On Mon, 1 Oct 2001, Marcin Romaszewicz wrote:

>
> gcc has some sort of issue with symbols going missing if you don't compile
> with the -O flag. We would really love to have proper debug libraries, but
> the gcc compiler is unwilling to cooperate. The libraries had to be
> compiled -O as well.
>
> -- Marcin
>
> On Mon, 1 Oct 2001, Yves Strube wrote:
>
> > Hi,
> >
> > is it possible to use the Performer debug libraries in
> > /usr/lib/Performer/Debug under Linux?
> > If I compile a Performer program I need to use the -O g++ compiler
> > switch. Without the switch lots of symbols are not found, no matter if I
> > use the debug libraries or the normal ones in /usr/lib/Performer.
> > The problem is that the -O switch does optimizations which make
> > debugging difficult, e.g. some variables I would like to display do not
> > exist in the optimized code.
> > So my questions are:
> > (1) Is it possible to compile and link a Performer application without
> > the -O switch?
> > (2) What is the difference between the debug libraries and the normal
> > ones?
> >
> > Thanks for any comments,
> > Yves
> >
> > --
> > Oerlikon-Contraves AG
> > Yves Strube, S-EMI
> > Birchstr. 155 Email: czys++at++ocag.ch
> > CH-8050 Zurich Phone: +41 1 316 2675
> > Switzerland Fax: +41 1 316 2032
> > -----------------------------------------------------------------------
> > List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> > Open Development Project: http://oss.sgi.com/projects/performer/
> > Submissions: info-performer++at++sgi.com
> > Admin. requests: info-performer-request++at++sgi.com
> > -----------------------------------------------------------------------
> >
>
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Open Development Project: http://oss.sgi.com/projects/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
> -----------------------------------------------------------------------
>

--
"Mongooses are famous for their snake-fighting ability, and are
 almost always victorious because of their speed, agility, and timing
 and also because of their thick coat."


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Mon Oct 01 2001 - 13:48:00 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.