diff options
author | Pedro Alves <palves@redhat.com> | 2017-07-20 18:12:19 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2017-07-20 18:12:19 +0100 |
commit | edb0c9cb22e5be90a76b8698b45e9eaee596f315 (patch) | |
tree | b874701054bec2ddc97e8104b9d74c46b64b0955 /gdb/ChangeLog | |
parent | a778f165ad24111597fa48beb4a62359501e0076 (diff) | |
download | gdb-edb0c9cb22e5be90a76b8698b45e9eaee596f315.zip gdb-edb0c9cb22e5be90a76b8698b45e9eaee596f315.tar.gz gdb-edb0c9cb22e5be90a76b8698b45e9eaee596f315.tar.bz2 |
get_int_var_value
I noticed that get_int_var_value's parameters could use some
constification. And then realized that client code would become
simpler by changing the interface to return the success/failure
indication as actual return value, as it allows getting rid of the
local "boolean" variable.
gdb/ChangeLog:
2017-07-20 Pedro Alves <palves@redhat.com>
* ada-lang.c (ada_to_fixed_type_1): Adjust.
(get_var_value): Constify parameters.
(get_int_var_value): Change prototype.
(to_fixed_range_type): Adjust.
* ada-lang.h (get_int_var_value): Change prototype.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a399f0e..a9ae09f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,13 @@ 2017-07-20 Pedro Alves <palves@redhat.com> + * ada-lang.c (ada_to_fixed_type_1): Adjust. + (get_var_value): Constify parameters. + (get_int_var_value): Change prototype. + (to_fixed_range_type): Adjust. + * ada-lang.h (get_int_var_value): Change prototype. + +2017-07-20 Pedro Alves <palves@redhat.com> + * dwarf2read.c (dw2_lookup_symbol): Use SYMBOL_MATCHES_SEARCH_NAME. * psymtab.c (psym_lookup_symbol): Use SYMBOL_MATCHES_SEARCH_NAME. |