Re: Debug code with pfLinux yet?

New Message Reply Date view Thread view Subject view Author view

From: Bram Stolk (bram++at++sara.nl)
Date: 12/20/2000 04:07:24


Allen Bierbaum wrote:
>
> Is it possible to do debug application compiling with pfLinux yet?

pfLinux being a shorter notation for OpenGL|Performer on linux?

Performer apps can choose to load debug versions of the shared
objects dynamically. To force this, make sure that the shared
lib directories...

/usr/lib/Performer/Debug/libpfdb
/usr/lib/Performer/Debug

...take precedent over the /usr/lib shared objs.

Use $LD_LIBRARY_PATH for this purpose.

This will help you debug inside the pf libs.
For your own app, you could experiment with gcc's
debug level (-g3) and with -ggdb

   Bram Stolk

>
> I know that you can compile an application "-g -O" to get debug symbols,
> but that still turns on function inlining which makes stepping through
> code with a debugger a real pain.
>
> -Allen
> -----------------------------------------------------------------------
> 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

-- 
------------------------------------------------------------------------------
 Bram Stolk, VR Specialist.
 SARA Academic Computing Services Amsterdam, PO Box 94613, 1090 GP  AMSTERDAM
 email: bram++at++sara.nl   Phone +31-20-5923059  Fax +31-20-6683167

"I heard if you play the NT-4.0-CD backwards, you get a satanic message." "Thats nothing, if you play it forward, it installs NT-4.0" ------------------------------------------------------------------------------


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Dec 20 2000 - 04:07:32 PST

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