This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
GDB DWARF-1 C++ support
- From: David Carlton <carlton at math dot stanford dot edu>
- To: Michael Elizabeth Chastain <mec at shout dot net>
- Cc: drow at mvista dot com, gdb <gdb at sources dot redhat dot com>
- Date: 17 Jan 2003 11:54:59 -0800
- Subject: GDB DWARF-1 C++ support
- References: <200301171928.h0HJS8805276@duracef.shout.net>
[ I've retitled this bit of the thread and moved it to gdb@. ]
On Fri, 17 Jan 2003 13:28:08 -0600, Michael Elizabeth Chastain <mec@shout.net> said:
> Here is what I want to do about gdb DWARF-1 C++ support:
> make a policy decision whether gdb supports DWARF-1 with C++
> if yes:
> remove all the setup_xfail_format DWARF-1 calls
> add regular DWARF-1 testing
> file about 50 new PR's for all the new FAIL's
> file PR's against gcc for the external bugs (and they will hate us)
> if no:
> document that gdb supports C++ with DWARF-2 or stabs+ but not DWARF-1
> add a DWARF-1 check to "skip_cplus_tests"
> remove all the setup_xfail_format DWARF-1 calls
Yup. I'm not familiar with DWARF-1, so conceivably it's possible
that we want to support C++ DWARF-1 debugging but that DWARF-1 is by
nature incapable of supporting the full range of C++ features, in
which case we'd only skip certain C++ tests under DWARF-1. But I'm
really not worried about that possibility for now.
Anyways, my kneejerk reaction is that no, we shouldn't support it: I
have a hard time imagining a scenario where it would be a profitable
use of resources to work on supporting DWARF-1. What platforms use it
as their native debugging format? What C++ compilers run on those
platforms?
David Carlton
carlton@math.stanford.edu