GDB DWARF-1 C++ support

David Carlton
2003-01-17T19:55:03Z

[ 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