Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [patch 10/12] entryval: @entry values even for references
Date: Tue, 19 Jul 2011 01:19:00 -0000	[thread overview]
Message-ID: <CAN9gPaHfgH-6bOqRX1qe2z-xxdKY4ojU=pVwkcdw3w4AO-kEOg@mail.gmail.com> (raw)
In-Reply-To: <20110718202224.GK30496@host1.jankratochvil.net>

On Mon, Jul 18, 2011 at 4:22 PM, Jan Kratochvil
<jan.kratochvil@redhat.com> wrote:
> Hi,
>
> for parameters passed by reference the parameter itself does not change; only
> the referenced (pointed to) value changes.  This would not be caught at all.

This is a little off topic from the current patch, but if the
reference value is not known, and the reference entry value is known,
should we use the entry value automatically?  Since it's supposed to
be read-only.  This could potentially hide a corrupted reference
pointer, that's the only downside.

-- 
Thanks,
Daniel


  reply	other threads:[~2011-07-18 21:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-18 20:26 Jan Kratochvil
2011-07-19  1:19 ` Daniel Jacobowitz [this message]
2011-07-29 15:55   ` Jan Kratochvil
2011-07-19 16:20 ` Tom Tromey
2011-07-29 15:31   ` Jan Kratochvil

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='CAN9gPaHfgH-6bOqRX1qe2z-xxdKY4ojU=pVwkcdw3w4AO-kEOg@mail.gmail.com' \
    --to=drow@false.org \
    --cc=gdb-patches@sourceware.org \
    --cc=jan.kratochvil@redhat.com \
    /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