This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: using GDB 5 on Solaris 7 with Sun WS5.0
- To: Tanvir Hassan <tanvir dot hassan at tumisoftware dot com>
- Subject: Re: using GDB 5 on Solaris 7 with Sun WS5.0
- From: Daniel Berlin <dan at www dot cgsoftware dot com>
- Date: Fri, 23 Mar 2001 12:09:00 -0500 (EST)
- cc: "'gdb at sourceware dot cygnus dot com'" <gdb at sourceware dot cygnus dot com>
On Thu, 22 Mar 2001, Tanvir Hassan wrote:
> Hi All!
>
> I am using some 3rd party tools that have basically forced me to run
> SunWorkshop 5.0 on Solaris 7. When I try to use dbx to debug my app (~45Mb
> with -g) it crashes. I have applied all patches to dbx and it still
> crashes. So I have given up on it for now.
>
> Using GDB has exposed several issues:
>
> 1) they say I need to use "-g -xs" which when I use on all .o's in my app
> will make an 800Mb exe and is too ponderous to debug. I have heard that
> someone might have changed GDB to do "lazy" loading of symbols by reading
> them from the *.o instead of the exe and thus obviating the need for "-xs",
> but I don't see any mention of this in any of the source. If anyone knows
> about that Solaris fix, please let me know!
>
> 2) the name mangling/vtable scheme of Sun WS5.0 is apparently using the
> ISO/ANSI ABI standard and GDB cannot deal with it (it needs an new BFD to
> handle this?
Um, there is no ISO/ANSI ABI standard.
What are you talking about?
> or is there a generic name de-mangling place in the code?), so
> now at least it is not crashing, but I cannot view any symbols. I tried to
> use the Sun compiler in -compat mode (and GDB DOES understand those mangled
> names), but then I cannot use STL (which is TOTALLY unacceptable).
>
> Thanks!
>