This is the mail archive of the gdb@sourceware.org mailing list for the GDB 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: GDB and -gdwarf-5


> Date: Thu, 7 Sep 2017 12:28:00 -0700
> From: Joel Brobecker <brobecker@adacore.com>
> Cc: gdb@sourceware.org
> 
> > I also tried "objdump --dwarf=info" (Binutils 2.29), but that says the
> > DWARF2 version is 4.  So now I'm confused.
> > 
> > Can someone please tell me how to verify the version of DWARF2 I get
> > with that GCC switch?
> 
> I would compile a unit, and then dump the DWARF info using objdump
> or readelf.

That's what I did, and objdump said it was version 4.  As Jan
explained, it seems to be a deficiency in GCC 6.3.

Thanks.


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