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 Cagney
Subject: Re: GDB will not resolve symbols for Sun WS's CC without -xs
Date: Thu, 23 Aug 2001 23:43:14 -0400
User-agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:0.9.3) Gecko/20010813

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]