This is the mail archive of the gcc-help@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]
Other format: [Raw text]

Re: Minimum gdb version


Thanks, I'll go ahead and update /etc/portage/package.keywords

Btw, when gcc generates debug info for -ggdb3, the man page says "the
most expressive"

What format is that?  I've heard that it is dwarf, and I've also heard
that it is stabs.

On Thu, Jul 26, 2012 at 8:07 AM, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:
> On 26 July 2012 14:24, Shentino wrote:
>> What is the minimum gdb version required to completely assimilate the
>> debug information produced by gcc version 4.6.1?
>
> http://gcc.gnu.org/gcc-4.5/changes.html says:
>
> "GCC now generates unwind info also for epilogues. DWARF debuginfo
> generated by GCC now uses more features of DWARF3 than before, and
> also some DWARF4 features. GDB older than 7.0 is not able to handle
> either of these, so to debug GCC 4.5 generated binaries or libraries
> GDB 7.0 or later is needed."
>
> And AFAIK the same is true for 4.6


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