This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Helping out GDB
>>>>> "Daniel" == Daniel Berlin+list gcc <dberlin@redhat.com> writes:
Daniel> David Edelsohn <dje@watson.ibm.com> writes:
>> The version of GCC implementing the new ABI is going to be
>> gcc-3.0. I would expect that the symbol "gcc2_compiled."
>> should be changed to "gcc3_compiled." Do any applications rely
>> upon the symbol "gcc2_compiled." other than GDB? GDB could
>> detect "gcc3_compiled." to flag the current use of
>> "gcc2_compiled." and the new C++ ABI.
Daniel> No, we can't. This assumes nobody will try to use gcc 3.0
Daniel> + the old ABI for compatibility reasons (yes, i know it's
Daniel> going to be removed).
This just won't be possible. The code for the old ABI will be gone by
then.
>> At least that gives us another "bit" when "gcc3_compiled."
>> symbols exists and "gcc2_compiled." symbol eventually is
>> removed (:^).
>>
Daniel> Feel free to remove it now, i grepped the sources, nothing
Daniel> uses it.
Other tools depend on this being set. The examples I know of our
non-GNU tools, so we may or may not care, but some people will
definitely complain if we remove this.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com