aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-alpha.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-01-30 09:52:27 +0000
committerRichard Henderson <rth@redhat.com>2001-01-30 09:52:27 +0000
commit9540464302fbf77b83c628bb54165020d9375f6e (patch)
treebe10e3f735e0807a7beaea674143aac5f0a8fed5 /bfd/elf64-alpha.c
parentf8bf377815c2632cf38e427e5b7b6de3af40c3e1 (diff)
downloadgdb-9540464302fbf77b83c628bb54165020d9375f6e.zip
gdb-9540464302fbf77b83c628bb54165020d9375f6e.tar.gz
gdb-9540464302fbf77b83c628bb54165020d9375f6e.tar.bz2
* elf64-alpha.c (elf64_alpha_find_nearest_line): Query dwarf2
before mdebug.
Diffstat (limited to 'bfd/elf64-alpha.c')
-rw-r--r--bfd/elf64-alpha.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/elf64-alpha.c b/bfd/elf64-alpha.c
index fa63753..197dcff 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)
{