This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: fix for GDB C++ STABS problem


On Wed, May 01, 2002 at 08:22:50PM -0500, Jim Blandy wrote:
> 
> Here's a fix for the GDB C++ STABS problem I just posted a test case
> for.  This prevents `read_struct_type' from scribbling over an
> existing definition, but it doesn't prevent `cleanup_undefined_types'
> from producing bogus cv chains.  That's the next patch coming.
> 
> The real fix, of course, is to switch to Dwarf 2.

Amen!  Thanks for tracking this down.

We could also start supporting the current Sun STABS spec, and then
make GCC emit it - it supports things like namespaces quite well.  But
at that point, well, most ELF targets already default to DWARF-2 in GCC
3.1.

I'd rather just go forward with the namespace improvements we were
discussing and leave STABS to rot.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]