This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: patch to improve i386 epilogue (version 4)


>>>>> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]