Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrey Smirnov <andrew.smirnov@gmail.com>
To: gdb-patches <gdb-patches@sourceware.org>
Subject: [PATCH 1/348] Fix -Wshadow errors
Date: Fri, 18 Nov 2011 12:49:00 -0000	[thread overview]
Message-ID: <CAHQ1cqE8eC9_eMKDXpohuk1QYfu=Ue3dXVQL5zmfnzv5qzFFZw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 588 bytes --]

Hello everybody,

Since my paperwork with copyright assignemnt is done. I'd like to move
on with patches I originally proposed in
http://sourceware.org/ml/gdb-patches/2011-11/msg00004.html. I split
original files into smaller ones, so that each patch affects only one
function. The patches are rebased against commit
4a30c67183563e8d66c86805bde0c73bcf02e3ee in
git://sourceware.org/git/gdb.git

Andrey Smirnov

P.S. Not sure if some sort of conformation of aforementioned paperwork
is required of me or is it a responsibility of a maintainer. Feel free
to contact me if it is the former.

[-- Attachment #2: 0001-gdb-ada-exp.y.patch --]
[-- Type: text/x-patch, Size: 885 bytes --]

From 94eebb235f4741927a3c701472fa8ead6a3f9af0 Mon Sep 17 00:00:00 2001
From: Andrey Smirnov <andrew.smirnov@gmail.com>
Date: Wed, 2 Nov 2011 20:14:04 +0700
Subject: [PATCH 001/353] gdb/ada-exp.y

---
 gdb/ada-exp.y |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/gdb/ada-exp.y b/gdb/ada-exp.y
index 9576be5..bfa3913 100644
--- a/gdb/ada-exp.y
+++ b/gdb/ada-exp.y
@@ -1287,12 +1287,12 @@ write_var_or_type (struct block *block, struct stoken name0)
 	     FIXME pnh 7/20/2007. */
 	  if (nsyms == 1)
 	    {
-	      struct symbol *renaming =
+	      struct symbol *ren_sym =
 		ada_find_renaming_symbol (SYMBOL_LINKAGE_NAME (syms[0].sym), 
 					  syms[0].block);
 
-	      if (renaming != NULL)
-		syms[0].sym = renaming;
+	      if (ren_sym != NULL)
+		syms[0].sym = ren_sym;
 	    }
 
 	  type_sym = select_possible_type_sym (syms, nsyms);
-- 
1.7.5.4


             reply	other threads:[~2011-11-18 12:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-18 12:49 Andrey Smirnov [this message]
2011-11-18 14:14 ` Joel Brobecker

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='CAHQ1cqE8eC9_eMKDXpohuk1QYfu=Ue3dXVQL5zmfnzv5qzFFZw@mail.gmail.com' \
    --to=andrew.smirnov@gmail.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