summaryrefslogtreecommitdiff
path: root/gdb/ada-lang.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2012-03-29 23:29:37 +0000
committerJoel Brobecker <brobecker@gnat.com>2012-03-29 23:29:37 +0000
commit8fbe13573758f2599c6387ebd01cf67be7b50990 (patch)
tree5e837daf5b986a3d0480141b87877a673d5a9112 /gdb/ada-lang.c
parenta5f03e33295582aa7ad0c88fae45124c4fdf3ea9 (diff)
downloadgdb-8fbe13573758f2599c6387ebd01cf67be7b50990.tar.gz
Rename "wild_match" parameter in add_symbols_from_enclosing_procs
gdb/ChangeLog: -Wshadow warning fix. * ada-lang.c (add_symbols_from_enclosing_procs): Rename "wild_match" parameter to "wild_match_p" (-Wshadow).
Diffstat (limited to 'gdb/ada-lang.c')
-rw-r--r--gdb/ada-lang.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index 207287f2a76..facf44ac6ff 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -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)
{
}