From 9540464302fbf77b83c628bb54165020d9375f6e Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Tue, 30 Jan 2001 09:52:27 +0000 Subject: [PATCH] * elf64-alpha.c (elf64_alpha_find_nearest_line): Query dwarf2 before mdebug. --- bfd/ChangeLog | 5 +++++ bfd/elf64-alpha.c | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 69746927c9d..36b6e00a581 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2001-01-30 Curtis L. Janssen + + * elf64-alpha.c (elf64_alpha_find_nearest_line): Query dwarf2 + before mdebug. + 2001-01-26 Richard Henderson * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Return false diff --git a/bfd/elf64-alpha.c b/bfd/elf64-alpha.c index fa63753cc88..197dcffa8df 100644 --- a/bfd/elf64-alpha.c +++ b/bfd/elf64-alpha.c @@ -2105,6 +2105,12 @@ elf64_alpha_find_nearest_line (abfd, section, symbols, offset, filename_ptr, { asection *msec; + if (_bfd_dwarf2_find_nearest_line (abfd, section, symbols, offset, + filename_ptr, functionname_ptr, + line_ptr, 0, + &elf_tdata (abfd)->dwarf2_find_line_info)) + return true; + msec = bfd_get_section_by_name (abfd, ".mdebug"); if (msec != NULL) { -- 2.30.2