diff options
author | Aaron Merey <amerey@redhat.com> | 2022-09-02 14:16:30 -0400 |
---|---|---|
committer | Aaron Merey <amerey@redhat.com> | 2022-09-06 10:42:50 -0400 |
commit | 6e7a29c7de4e1df679f2b6f6449b20474fbbcfdf (patch) | |
tree | 4ebae737f83b181c6a30c561bcf09a238c6da55f /bfd/plugin.c | |
parent | cb21dd0c599a420117abbcbbd1e20cce8d9e771d (diff) | |
download | gdb-6e7a29c7de4e1df679f2b6f6449b20474fbbcfdf.zip gdb-6e7a29c7de4e1df679f2b6f6449b20474fbbcfdf.tar.gz gdb-6e7a29c7de4e1df679f2b6f6449b20474fbbcfdf.tar.bz2 |
bfd: Add bfd_find_nearest_line_with_alt
bfd_find_nearest_line_with_alt functions like bfd_find_nearest_line with
the addition of a parameter for specifying the filename of a supplementary
debug file such as one referenced by .gnu_debugaltlink or .debug_sup.
This patch focuses on implementing bfd_find_nearest_line_with_alt
support for ELF/DWARF2 .gnu_debugaltlink. For other targets this
function simply sets the invalid_operation bfd_error.
Diffstat (limited to 'bfd/plugin.c')
-rw-r--r-- | bfd/plugin.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/plugin.c b/bfd/plugin.c index c69fbd7..9103e21 100644 --- a/bfd/plugin.c +++ b/bfd/plugin.c @@ -83,6 +83,7 @@ dlerror (void) #define bfd_plugin_bfd_is_target_special_symbol _bfd_bool_bfd_asymbol_false #define bfd_plugin_get_lineno _bfd_nosymbols_get_lineno #define bfd_plugin_find_nearest_line _bfd_nosymbols_find_nearest_line +#define bfd_plugin_find_nearest_line_with_alt _bfd_nosymbols_find_nearest_line_with_alt #define bfd_plugin_find_line _bfd_nosymbols_find_line #define bfd_plugin_find_inliner_info _bfd_nosymbols_find_inliner_info #define bfd_plugin_get_symbol_version_string _bfd_nosymbols_get_symbol_version_string |