mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 01:07:52 +00:00
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.
This commit is contained in:
@@ -370,6 +370,7 @@ verilog_mkobject (bfd *abfd)
|
||||
#define verilog_bfd_is_local_label_name bfd_generic_is_local_label_name
|
||||
#define verilog_get_lineno _bfd_nosymbols_get_lineno
|
||||
#define verilog_find_nearest_line _bfd_nosymbols_find_nearest_line
|
||||
#define verilog_find_nearest_line_with_alt _bfd_nosymbols_find_nearest_line_with_alt
|
||||
#define verilog_find_inliner_info _bfd_nosymbols_find_inliner_info
|
||||
#define verilog_make_empty_symbol _bfd_generic_make_empty_symbol
|
||||
#define verilog_bfd_make_debug_symbol _bfd_nosymbols_bfd_make_debug_symbol
|
||||
|
||||
Reference in New Issue
Block a user