* elf64-alpha.c (elf64_alpha_find_nearest_line): Query dwarf2
authorRichard Henderson <rth@redhat.com>
Tue, 30 Jan 2001 09:52:27 +0000 (09:52 +0000)
committerRichard Henderson <rth@redhat.com>
Tue, 30 Jan 2001 09:52:27 +0000 (09:52 +0000)
        before mdebug.

bfd/ChangeLog
bfd/elf64-alpha.c

index 69746927c9dfe47a1e2be932d460ef5104b50e69..36b6e00a58180ba797fa4159f5ec5c9f5d3226b4 100644 (file)
@@ -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
index fa63753cc8895100a6f940d41d9461e313963389..197dcffa8dfaa4a72edf5630ffc04f1e23058bec 100644 (file)
@@ -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)
     {