Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tom@tromey.com>
To: Andreas Arnez <arnez@linux.vnet.ibm.com>
Cc: Tom Tromey <tom@tromey.com>,  gdb-patches@sourceware.org
Subject: Re: [PATCH] Allow DW_OP_GNU_uninit in dwarf_expr_require_composition
Date: Mon, 10 Oct 2016 22:41:00 -0000	[thread overview]
Message-ID: <874m4jq13d.fsf@tromey.com> (raw)
In-Reply-To: <m3a8ece6iw.fsf@oc1027705133.ibm.com> (Andreas Arnez's message of	"Mon, 10 Oct 2016 14:24:23 +0200")

>>>>> "Andreas" == Andreas Arnez <arnez@linux.vnet.ibm.com> writes:

Andreas> You mean to allow DW_OP_GNU_uninit to terminate any simple
Andreas> location description?

Yes.

>> That is, assuming DW_OP_GNU_uninit is useful at all.
>> Another option would be to deprecate it.

Andreas> Right, I wonder about its usefulness as well.  For a variable
Andreas> with fixed location it may cover a small window where the
Andreas> compiler can be certain that the variable is uninitialized.  I
Andreas> guess this *might* be useful sometimes?

Andreas> Is there even a DWARF issue for this?  Or a formal
Andreas> specification?

I don't think so.  Last time I looked into this all I was able to find
were the patch submissions to gcc and gdb.  IIRC they weren't all that
informative though.

Tom


      reply	other threads:[~2016-10-10 22:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-27 17:38 Andreas Arnez
2016-10-04 17:33 ` Pedro Alves
2016-10-05 10:42   ` Andreas Arnez
2016-10-09 17:36 ` Tom Tromey
2016-10-10 12:24   ` Andreas Arnez
2016-10-10 22:41     ` Tom Tromey [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=874m4jq13d.fsf@tromey.com \
    --to=tom@tromey.com \
    --cc=arnez@linux.vnet.ibm.com \
    --cc=gdb-patches@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