This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: killing ASM_IDENTIFY_GCC [branch]
On Wed, Apr 11, 2001 at 02:34:47AM -0400, Daniel Berlin wrote:
> Mark Mitchell <mark@codesourcery.com> writes:
>
> > I'm not qualified to review this patch since there are too many funky
> > targets I don't know about.
>
> This patch will break STABS in gdb.
Can you expand a bit more? I remember you saying that it didn't use
gcc2_compiled. at all.
...
> There is a lot of annoying stuff in processing STABS in gdb. I
> could work around most of it by saying "if we aren't on a sun, and
> we have STABS debug info, we are processing gcc compiled stuff"
> (since it's sun's dbx stuff that all these problems/workarounds are
> implemented for). However, I can't do this unless the sun ones are
> moved to DWARF2 as the default with this change as well (so that
> stabs no longer occurs, and stabs that does occur will have the
> symbol, or be sun compiled stuff). Unless Sun's compiler also
> outputs gcc2_compiled these days, i don't know.
Also I'm failing to see why it matters which compiler generated the
STABS information. I thought that GCC tried to match what the native
compiler generated.
zw