aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2012-03-29 23:30:55 +0000
committerJoel Brobecker <brobecker@gnat.com>2012-03-29 23:30:55 +0000
commitb1ed564ad05fb27a5aec2b2594ff22065afc6d42 (patch)
treec8bad52faa74bfc7869bfd76c031309e6ffa9ab6 /gdb/ChangeLog
parentcb8e9b977ecf427fcd84127e05c11855cc2fd217 (diff)
downloadgdb-b1ed564ad05fb27a5aec2b2594ff22065afc6d42.zip
gdb-b1ed564ad05fb27a5aec2b2594ff22065afc6d42.tar.gz
gdb-b1ed564ad05fb27a5aec2b2594ff22065afc6d42.tar.bz2
Rename variables in ada-lang.c:ada_make_symbol_completion_list.
This renaming allows us to have variable names that are consistent with the names of the parameters in the functions where these variables are used. This also allows us to avoid a -Wshadow warning in the case of variable "wild_match", which is now renamed to "wild_match_p". gdb/ChangeLog: -Wshadow warning fix. * ada-lang.c (ada_make_symbol_completion_list): Rename parameters "wild_match" and "encoded" into "wild_match_p" and "encoded_p". Adjust code accordingly.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 16bb222..f6c7735 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,4 +1,12 @@
2012-03-29 Joel Brobecker <brobecker@adacore.com>
+ Andrey Smirnov <andrew.smirnov@gmail.com>
+
+ -Wshadow warning fix.
+ * ada-lang.c (ada_make_symbol_completion_list): Rename parameters
+ "wild_match" and "encoded" into "wild_match_p" and "encoded_p".
+ Adjust code accordingly.
+
+2012-03-29 Joel Brobecker <brobecker@adacore.com>
* ada-lang.c (symbol_completion_add): Rename parameter
"encoded" into "encoded_p". Ajust code and documentation