diff options
author | Joel Brobecker <brobecker@gnat.com> | 2012-03-29 23:29:37 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2012-03-29 23:29:37 +0000 |
commit | 48b7833268843b57ed91a880f8e8977f82b6d987 (patch) | |
tree | f5a02a374c0c4835c7be215350adbff77a651bf9 /gdb | |
parent | 2e6e03535455f905a46fa74f7a039acdf83ecc70 (diff) | |
download | gdb-48b7833268843b57ed91a880f8e8977f82b6d987.zip gdb-48b7833268843b57ed91a880f8e8977f82b6d987.tar.gz gdb-48b7833268843b57ed91a880f8e8977f82b6d987.tar.bz2 |
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')
-rw-r--r-- | gdb/ChangeLog | 7 | ||||
-rw-r--r-- | gdb/ada-lang.c | 6 |
2 files changed, 10 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6553a9f..43d692b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,4 +1,11 @@ 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 in function documentation. diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index 207287f..facf44a 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) { } |