Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Joel Brobecker <brobecker@adacore.com>
Cc: gdb@sourceware.org
Subject: Re: GDB and -gdwarf-5
Date: Thu, 07 Sep 2017 20:18:00 -0000	[thread overview]
Message-ID: <83d172z2it.fsf@gnu.org> (raw)
In-Reply-To: <20170907192800.tkbi3hm34bvbp6go@adacore.com> (message from Joel	Brobecker on Thu, 7 Sep 2017 12:28:00 -0700)

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


      reply	other threads:[~2017-09-07 20:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-07 19:16 Eli Zaretskii
2017-09-07 19:24 ` Jan Kratochvil
2017-09-07 20:16   ` Eli Zaretskii
2017-09-07 19:28 ` Joel Brobecker
2017-09-07 20:18   ` Eli Zaretskii [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83d172z2it.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=brobecker@adacore.com \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox