diff options
author | Pedro Alves <palves@redhat.com> | 2017-04-13 02:12:53 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2017-04-13 02:12:53 +0100 |
commit | f5336ca55ca0aca2507ac8c0f1d573d7f6b877ab (patch) | |
tree | 7a767c42910f7170365b83b4e33dbe22ae79180f /gdb/ChangeLog | |
parent | 4f70a994900c2f7b235add7d4131cc069c181cea (diff) | |
download | gdb-f5336ca55ca0aca2507ac8c0f1d573d7f6b877ab.zip gdb-f5336ca55ca0aca2507ac8c0f1d573d7f6b877ab.tar.gz gdb-f5336ca55ca0aca2507ac8c0f1d573d7f6b877ab.tar.bz2 |
breakpoint.c: bp_location (the array) shadows bp_location (the type)
The bp_location array has the same name as the "struct bp_location",
type preventing refering to the structure without the "struct" inside
breakpoint.c. I.e., we must write:
"new struct bp_location;"
instead of:
"new bp_location"
Rename the array and the associated variables/functions to avoid the
shadowing.
gdb/ChangeLog:
2017-04-13 Pedro Alves <palves@redhat.com>
* breakpoint.c (bp_location): Rename to ...
(bp_locations): ... this. All references updated.
(bp_location_count): Rename to ...
(bp_locations_count): ... this. All references updated.
(bp_location_placed_address_before_address_max): Rename to ...
(bp_locations_placed_address_before_address_max): ... this. All
references updated.
(bp_location_shadow_len_after_address_max): Rename to ...
(bp_locations_shadow_len_after_address_max): ... this. All
references updated.
(bp_location_compare_addrs): Rename to ...
(bp_locations_compare_addrs): ... this. All references updated.
(bp_location_compare):Rename to ...
(bp_locations_compare): ... this. All references updated.
(bp_location_target_extensions_update): Rename to ...
(bp_locations_target_extensions_update): ... this. All references
updated.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f5f76f8..5fba46e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,23 @@ +2017-04-13 Pedro Alves <palves@redhat.com> + + * breakpoint.c (bp_location): Rename to ... + (bp_locations): ... this. All references updated. + (bp_location_count): Rename to ... + (bp_locations_count): ... this. All references updated. + (bp_location_placed_address_before_address_max): Rename to ... + (bp_locations_placed_address_before_address_max): ... this. All + references updated. + (bp_location_shadow_len_after_address_max): Rename to ... + (bp_locations_shadow_len_after_address_max): ... this. All + references updated. + (bp_location_compare_addrs): Rename to ... + (bp_locations_compare_addrs): ... this. All references updated. + (bp_location_compare):Rename to ... + (bp_locations_compare): ... this. All references updated. + (bp_location_target_extensions_update): Rename to ... + (bp_locations_target_extensions_update): ... this. All references + updated. + 2017-04-12 Sergio Durigan Junior <sergiodj@redhat.com> * Makefile.in (HFILES_NO_SRCDIR): Add "common/gdb_termios.h". |