aboutsummaryrefslogtreecommitdiff
path: root/bfd
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
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')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf64-alpha.c6
2 files changed, 11 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 6974692..36b6e00 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2001-01-30 Curtis L. Janssen <cljanss@ca.sandia.gov>
+
+ * elf64-alpha.c (elf64_alpha_find_nearest_line): Query dwarf2
+ before mdebug.
+
2001-01-26 Richard Henderson <rth@redhat.com>
* elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Return false
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)
{