* ecoff.c (_bfd_ecoff_find_nearest_line): Also initialize
authorIan Lance Taylor <ian@airs.com>
Tue, 4 Jul 1995 16:23:58 +0000 (16:23 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 4 Jul 1995 16:23:58 +0000 (16:23 +0000)
find_buffer and fdrtab_len fields of newly allocated
find_line_info structure.

bfd/ChangeLog
bfd/ecoff.c

index a340b74834d4ee0c88df55888fd8e936061c331a..2f0c1b71f3fbe7b5abddba38386cfdd6812013fb 100644 (file)
@@ -1,3 +1,9 @@
+Tue Jul  4 12:22:21 1995  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ecoff.c (_bfd_ecoff_find_nearest_line): Also initialize
+       find_buffer and fdrtab_len fields of newly allocated
+       find_line_info structure.
+
 Mon Jul  3 17:03:52 1995  Jeff Law  (law@snake.cs.utah.edu)
 
        * som.c (hppa_som_gen_reloc_type): New argument "sym_diff",
index e98ac21c01e534f5105bc5bac62668912cfa15ce..21d81d996b4f1dce5e5392b5e1ae33d7acdd83c8 100644 (file)
@@ -1852,6 +1852,8 @@ _bfd_ecoff_find_nearest_line (abfd, section, ignore_symbols, offset,
          bfd_set_error (bfd_error_no_memory);
          return false;
        }
+      ecoff_data (abfd)->find_line_info->find_buffer = NULL;
+      ecoff_data (abfd)->find_line_info->fdrtab_len = 0;
       ecoff_data (abfd)->find_line_info->fdrtab = NULL;
     }
   line_info = ecoff_data (abfd)->find_line_info;