This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: patch to improve i386 epilogue (version 4)
- To: law at cygnus dot com
- Subject: Re: patch to improve i386 epilogue (version 4)
- From: Jason Merrill <jason at cygnus dot com>
- Date: 10 Oct 1998 14:06:27 -0700
- Cc: mark at markmitchell dot com, john at feith dot com, egcs-patches at cygnus dot com
- References: <24875.907982832@hurl.cygnus.com>
>>>>> Jeffrey A Law <law@cygnus.com> writes:
> In message <199810100107.SAA26162@smtp.earthlink.net>you write:
>> In other words, on some system X you might use -g to get debug
>> information to use with the vendor debugger, and -ggdb to get debug
>> information to use with GDB. But, on Linux/GNU you never face this
>> conundrum, so why should the switches do different things?
> I'd tend to agree.
> Can anyone explain why this braindamage exists on Linux. This sounds
> totally dumb to me.
This isn't specific to Linux; -ggdb generates DWARF2 on all systems where
it is supported.
> It's mature enough to basically work. But things like having gdb read the
> frame descriptors, or having gcc emit ranges and gdb grok the ranges haven't
> been implemented yet.
Meaning, it's only as functional as stabs, not more. Which is not really
an argument for staying with stabs; when we switch, there is more reason to
improve dwarf2 support.
Jason