diff options
author | Richard Henderson <rth@redhat.com> | 2001-01-30 09:52:27 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 2001-01-30 09:52:27 +0000 |
commit | 9540464302fbf77b83c628bb54165020d9375f6e (patch) | |
tree | be10e3f735e0807a7beaea674143aac5f0a8fed5 /bfd | |
parent | f8bf377815c2632cf38e427e5b7b6de3af40c3e1 (diff) | |
download | gdb-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/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf64-alpha.c | 6 |
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) { |