From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Berlin To: Mark Mitchell Cc: zackw@stanford.edu, gcc-patches@gcc.gnu.org, Jim Wilson Subject: Re: killing ASM_IDENTIFY_GCC [branch] Date: Tue, 10 Apr 2001 23:35:00 -0000 Message-id: References: <20010410222316.A221@stanford.edu> <20010410231659H.mitchell@codesourcery.com> X-SW-Source: 2001-04/msg00594.html Mark Mitchell 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. For one thing, it appears that line numbers for symbols will stop working completely (don't even ask, actually noticing this made me want to throw up). Local symbols look like they'll be borked in some says, as do a few other things. 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. > > However, I support the basic idea of the patch, and would like to see > it on the branch and the mainline. I seem to remember that Jim > expressed interest in this topic, so I'm hoping he will be able to > review it. (Anyone else is welcome to do as well.) > > Once you get a review, please install on the branch and on the > mainline. > > And thank you for taking care of this chore. > > -- > Mark Mitchell mark@codesourcery.com > CodeSourcery, LLC http://www.codesourcery.com -- I stayed up all night playing poker with Tarot cards. I got a full house and four people died.