* Re: GDB DWARF-1 C++ support
2003-01-17 19:55 ` GDB DWARF-1 C++ support David Carlton
@ 2003-01-17 19:56 ` Daniel Jacobowitz
2003-01-18 6:19 ` Daniel Berlin
2003-01-17 20:07 ` Elena Zannoni
1 sibling, 1 reply; 4+ messages in thread
From: Daniel Jacobowitz @ 2003-01-17 19:56 UTC (permalink / raw)
To: gdb
On Fri, Jan 17, 2003 at 11:54:59AM -0800, David Carlton wrote:
> [ 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?
I believe no recent version of GCC uses DWARF-1 that does not also
support DWARF-2. We support oddball C compilers, but not oddball C++
compilers, in general.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: GDB DWARF-1 C++ support
2003-01-17 19:55 ` GDB DWARF-1 C++ support David Carlton
2003-01-17 19:56 ` Daniel Jacobowitz
@ 2003-01-17 20:07 ` Elena Zannoni
1 sibling, 0 replies; 4+ messages in thread
From: Elena Zannoni @ 2003-01-17 20:07 UTC (permalink / raw)
To: David Carlton; +Cc: Michael Elizabeth Chastain, drow, gdb
Sorry, I am really busy, and didn't participate in this thread, but
NO! dwarf1 support should be dead. I am looking at gcc:
% grep DWARF config/*
these are the only references to DWARF1 I can spot, and I bet are really old.
config/elfos.h:/* System V Release 4 uses DWARF debugging info. */
config/elfos.h:#define DWARF_DEBUGGING_INFO 1
config/ptx4.h:/* Use DWARF debugging info by default. */
config/ptx4.h:#define PREFERRED_DEBUGGING_TYPE DWARF_DEBUG
Elena
David Carlton writes: > [ 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
^ permalink raw reply [flat|nested] 4+ messages in thread