aboutsummaryrefslogtreecommitdiff
path: root/bfd/vms-alpha.c
diff options
context:
space:
mode:
authorAaron Merey <amerey@redhat.com>2022-09-02 14:16:30 -0400
committerAaron Merey <amerey@redhat.com>2022-09-06 10:42:50 -0400
commit6e7a29c7de4e1df679f2b6f6449b20474fbbcfdf (patch)
tree4ebae737f83b181c6a30c561bcf09a238c6da55f /bfd/vms-alpha.c
parentcb21dd0c599a420117abbcbbd1e20cce8d9e771d (diff)
downloadfsf-binutils-gdb-6e7a29c7de4e1df679f2b6f6449b20474fbbcfdf.zip
fsf-binutils-gdb-6e7a29c7de4e1df679f2b6f6449b20474fbbcfdf.tar.gz
fsf-binutils-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/vms-alpha.c')
-rw-r--r--bfd/vms-alpha.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/vms-alpha.c b/bfd/vms-alpha.c
index 5a867f7..0ea9ed5 100644
--- a/bfd/vms-alpha.c
+++ b/bfd/vms-alpha.c
@@ -9992,6 +9992,8 @@ bfd_vms_get_data (bfd *abfd)
#define alpha_vms_find_inliner_info _bfd_nosymbols_find_inliner_info
#define alpha_vms_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol
#define alpha_vms_find_nearest_line _bfd_vms_find_nearest_line
+#define alpha_vms_find_nearest_line_with_alt \
+ _bfd_nosymbols_find_nearest_line_with_alt
#define alpha_vms_find_line _bfd_nosymbols_find_line
#define alpha_vms_bfd_is_local_label_name vms_bfd_is_local_label_name