Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Jack Howarth <howarth@bromo.med.uc.edu>
Cc: gdb@sourceware.org
Subject: Re: check for valid location of zero length dwarf block forms?
Date: Sun, 22 Nov 2009 20:22:00 -0000	[thread overview]
Message-ID: <20091122110259.GA9268@host0.dyn.jankratochvil.net> (raw)
In-Reply-To: <20091121034258.GA6166@bromo.med.uc.edu>

On Sat, 21 Nov 2009 04:42:58 +0100, Jack Howarth wrote:
> ...as dwarf debug info containing an AT_location with
> any block form having a zero length.

It is correct and equivalent according to the DWARF spec. and for gcc it seems
to differentiate a case of known optimized-out value (=empty) vs. the case of
gcc failed to describe the variable location (=missing).
	dwarflint: DW_AT_location being empty vs. missing check
	https://fedorahosted.org/pipermail/elfutils-devel/2009-March/000179.html
	https://fedorahosted.org/pipermail/elfutils-devel/2009-March/000180.html


Regards,
Jan


  reply	other threads:[~2009-11-22 11:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-22 17:04 Jack Howarth
2009-11-22 20:22 ` Jan Kratochvil [this message]
2009-11-23 14:17   ` Jack Howarth
2009-11-23 19:57     ` Jan Kratochvil
2009-11-24  8:56       ` Jack Howarth
2009-11-24 19:15         ` Cary Coutant

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=20091122110259.GA9268@host0.dyn.jankratochvil.net \
    --to=jan.kratochvil@redhat.com \
    --cc=gdb@sourceware.org \
    --cc=howarth@bromo.med.uc.edu \
    /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