This is the mail archive of the
mailing list for the GCC project.
Re: Modify gcc for use with gdb (issue5132047)
On Fri, Oct 07, 2011 at 07:42:44AM -0600, Tom Tromey wrote:
> >>>>> "Jeff" == Jeff Law <email@example.com> writes:
> Jeff> Presumably it hasn't been included because not all gdb's understand
> Jeff> those bits and we typically don't build with -g3.
> GCC is pretty much the perfect candidate for a -g3 build. All those
> The needed gdb changes have been in since right around when I added that
> patch to the incremental branch. Anybody with a > 3 year old gdb should
> upgrade :-)
A > 3 years old gdb is useless for debugging gcc anyway, it won't understand
epilogue unwind info, discriminators, lots of .debug_info stuff added
in the last few years and not even the .debug_macro format.