Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@adacore.com>
To: Simon Marchi <simon.marchi@ericsson.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] Rename variable with confusing name
Date: Wed, 06 Aug 2014 13:17:00 -0000	[thread overview]
Message-ID: <20140806131735.GB5204@adacore.com> (raw)
In-Reply-To: <1406930946-28195-1-git-send-email-simon.marchi@ericsson.com>

> I saw this gem of not so legible code in solib-svr4.c (scan_dyntag):
> 
> 	if (dyn_tag == dyntag)
> 
> and thought it deserved a small rename.

Indeed!

> 2014-08-01  Simon Marchi  <simon.marchi@ericsson.com>
> 
> 	* solib-svr4.c (scan_dyntag): Rename dyntag, dyn_tag and
> 	dyn_ptr variables.

Approved, and many thanks for this small but important improvement.
We also have the same issue in scan_dyntag_auxv; if you feel inclined
to it, the same change is pre-approved there.

-- 
Joel


  reply	other threads:[~2014-08-06 13:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-01 22:09 Simon Marchi
2014-08-06 13:17 ` Joel Brobecker [this message]
2014-08-06 19:34   ` Simon Marchi
2014-08-06 19:51     ` Joel Brobecker
2014-08-06 19:53       ` Simon Marchi

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=20140806131735.GB5204@adacore.com \
    --to=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    --cc=simon.marchi@ericsson.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