aboutsummaryrefslogtreecommitdiff
path: root/gdb/rust-lang.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2023-09-05 11:08:23 +0100
committerNick Clifton <nickc@redhat.com>2023-09-05 11:08:23 +0100
commitb6ac461ace19ba19aaf135a028df4e67e47e21d7 (patch)
treee23c55a5f0b131654b4cf76813732e160572f474 /gdb/rust-lang.h
parentd4868004365e6bc4232a1b8ebd4b328fc5bec8b1 (diff)
downloadgdb-b6ac461ace19ba19aaf135a028df4e67e47e21d7.zip
gdb-b6ac461ace19ba19aaf135a028df4e67e47e21d7.tar.gz
gdb-b6ac461ace19ba19aaf135a028df4e67e47e21d7.tar.bz2
readelf: Add option to display the names of sections referenced by symbols.
PR 30684 * readelf.c (extra_sym_info): New variable. (section_name_valid): Also check for filedata being NULL. (section_name_print): Delete. (section_index_real): New function. Returns true if the given section index references a real section. (print_symbol): Rename to print_sumbol_name. (printable_section_name): Use a rotating array of static buffers for the return string. (printable_section_name_from_index): Merge code from dump_relocations and get_symbol_index_type into here. (long_option_values): Add OPTION_NO_EXTRA_SYM_INFO. (options): Add "extra-sym-info" and "no-extra-sym-info". (usage): Mention new options. (parse_args): Parse new options. (get_symbol_index_type): Delete. (print_dynamic_symbol_size): Rename to print_symbol_size. (print_dynamic_symbol): Rename to print_symbol. (print_symbol_table_heading): New function. (process_symbol_table): Use new function. * doc/binutils.texi: Document the new option. * NEWS: Mention the new feature.
Diffstat (limited to 'gdb/rust-lang.h')
0 files changed, 0 insertions, 0 deletions