Rename "wild_match" parameter in add_symbols_from_enclosing_procs
authorJoel Brobecker <brobecker@gnat.com>
Thu, 29 Mar 2012 23:29:37 +0000 (23:29 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Thu, 29 Mar 2012 23:29:37 +0000 (23:29 +0000)
gdb/ChangeLog:

        -Wshadow warning fix.
        * ada-lang.c (add_symbols_from_enclosing_procs): Rename
        "wild_match" parameter to "wild_match_p" (-Wshadow).

gdb/ChangeLog
gdb/ada-lang.c

index 6553a9f1c38448385a9a976f3f9c7c46325ad217..43d692b785689272d4fa5bedb77323def934e7e2 100644 (file)
@@ -1,3 +1,10 @@
+2012-03-29  Joel Brobecker  <brobecker@adacore.com>
+           Andrey Smirnov  <andrew.smirnov@gmail.com>
+
+       -Wshadow warning fix.
+       * ada-lang.c (add_symbols_from_enclosing_procs): Rename
+       "wild_match" parameter to "wild_match_p" (-Wshadow).
+
 2012-03-29  Joel Brobecker  <brobecker@adacore.com>
 
        * ada-lang.c (ada_lookup_simple_minsym): Remove trailing spaces
index 207287f2a76b24876163fdad84001cec96b5ab23..facf44ac6ffd4b00aa8a69fdd7684ca3a4e3de25 100644 (file)
@@ -4439,13 +4439,13 @@ ada_lookup_simple_minsym (const char *name)
 /* For all subprograms that statically enclose the subprogram of the
    selected frame, add symbols matching identifier NAME in DOMAIN
    and their blocks to the list of data in OBSTACKP, as for
-   ada_add_block_symbols (q.v.).   If WILD, treat as NAME with a
-   wildcard prefix.  */
+   ada_add_block_symbols (q.v.).   If WILD_MATCH_P, treat as NAME
+   with a wildcard prefix.  */
 
 static void
 add_symbols_from_enclosing_procs (struct obstack *obstackp,
                                   const char *name, domain_enum namespace,
-                                  int wild_match)
+                                  int wild_match_p)
 {
 }