bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: GDB will not resolve symbols for Sun WS's CC without -xs


From: Andrew Ballantyne
Subject: RE: GDB will not resolve symbols for Sun WS's CC without -xs
Date: Fri, 24 Aug 2001 08:23:13 +0100

Hi Andrew,

I've found out there is a faq entry regarding
http://www.unixguide.net/sun/faq/6.26.shtml so it has been documented.

I would dearly like to fix this, all I need is the info on the how Sun puts
the symbol tables in to .os and what is in the executable that tells the
debugger to open which .o's. Would this be proprietary or can someone give
me this info?

I've got the development evironment setup for GDB,

cheers,
Andrew


    >-----Original Message-----
    >From: Andrew Cagney [mailto:address@hidden
    >Sent: 24 August 2001 04:43
    >To: Andrew Ballantyne
    >Cc: address@hidden
    >Subject: Re: GDB will not resolve symbols for Sun WS's CC without -xs
    >
    >
    >> Hi,
    >>
    >> (I'm reposting this in the hope some-one may know)
    >>
    >> I've found that gdb 5.0 will not resolve the symbols of a
    >binary built
    >> without the flag '-xs' on Sun Workshop 4.2's CC compiler,
    >(Solaris 2.6).
    >> Here's the blurb from the Solaris 'CC's manpage about this
    >> option..
    >>
    >>    -xs       Disables Auto-Read for dbx.  Use this option in
    >
    >Yes.  That was a trick sun pulled to speed up link time.
    >
    >> Is this an known bug/limitation and has it been fixed or will it be?
    >
    >GDB doesn't know how to handle this.  I don't know of anyone
    >working on
    >this problem so I encourage you to do so.
    >
    >I would suggest starting with a more current GDB:
    >   http://sources.redhat.com/gdb/
    >
    >   Andrew
    >




reply via email to

[Prev in Thread] Current Thread [Next in Thread]