diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2023-10-10 15:47:41 +0000 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2023-10-19 10:57:51 -0400 |
commit | 25b5a04e858ae7c0dd859c082b35f63d9ee50feb (patch) | |
tree | 565967d8da985be9a01d4a4a169114287733a14d /gdb/target-debug.h | |
parent | 4ac91b6bb82e82066ad10914121c75d7c99b7bbf (diff) | |
download | gdb-25b5a04e858ae7c0dd859c082b35f63d9ee50feb.zip gdb-25b5a04e858ae7c0dd859c082b35f63d9ee50feb.tar.gz gdb-25b5a04e858ae7c0dd859c082b35f63d9ee50feb.tar.bz2 |
gdb: remove target_section_table typedef
Remove this typedef. I think that hiding the real type (std::vector)
behind a typedef just hinders readability.
Change-Id: I80949da3392f60a2826c56c268e0ec6f503ad79f
Approved-By: Pedro Alves <pedro@palves.net>
Reviewed-By: Reviewed-By: Lancelot Six <lancelot.six@amd.com>
Diffstat (limited to 'gdb/target-debug.h')
-rw-r--r-- | gdb/target-debug.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/target-debug.h b/gdb/target-debug.h index 4082f82..3663ec2 100644 --- a/gdb/target-debug.h +++ b/gdb/target-debug.h @@ -104,8 +104,8 @@ target_debug_do_print (host_address_to_string (X)) #define target_debug_print_ui_file_p(X) \ target_debug_do_print (host_address_to_string (X)) -#define target_debug_print_const_target_section_table_p(X) \ - target_debug_do_print (host_address_to_string (X)) +#define target_debug_print_const_std_vector_target_section_p(X) \ + target_debug_do_print (host_address_to_string (X->data ())) #define target_debug_print_void_p(X) \ target_debug_do_print (host_address_to_string (X)) #define target_debug_print_find_memory_region_ftype(X) \ |