Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Joel Brobecker <brobecker@adacore.com>
Cc: Siddhesh Poyarekar <siddhesh@redhat.com>, gdb-patches@sourceware.org
Subject: Re: [commit][obv] Use TYPE_LENGTH directly where possible
Date: Wed, 26 Sep 2012 15:07:00 -0000	[thread overview]
Message-ID: <87txukzuua.fsf@fleche.redhat.com> (raw)
In-Reply-To: <20120926105205.GB4335@adacore.com> (Joel Brobecker's message of	"Wed, 26 Sep 2012 12:52:06 +0200")

Joel> But I can definitely see someone like myself missing that subtlety,
Joel> and commit an obvious change that reduces the duplication by re-using
Joel> the variable in the gdb_assert call. To the unattentive me, that's
Joel> an obvious improvement. I think that's an issue.

Yeah, that's easy to picture happening.

It seems to me that a comment would be adequate.

Tom


  parent reply	other threads:[~2012-09-26 15:07 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-26  7:57 Siddhesh Poyarekar
2012-09-26  9:42 ` Joel Brobecker
2012-09-26  9:58   ` Siddhesh Poyarekar
2012-09-26 10:52     ` Joel Brobecker
2012-09-26 14:59       ` Pedro Alves
2012-09-26 15:09         ` Siddhesh Poyarekar
2012-09-26 15:07       ` Tom Tromey [this message]
2012-09-28  4:00       ` Mark Kettenis
2012-09-28  8:11         ` Jan Kratochvil
2012-09-27  9:59 ` Joel Brobecker
2012-09-27 10:13   ` Siddhesh Poyarekar
2012-09-27 10:19     ` Joel Brobecker
2012-09-27 10:42       ` Siddhesh Poyarekar

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=87txukzuua.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    --cc=siddhesh@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