diff options
author | Ian Lance Taylor <ian@airs.com> | 1995-07-04 16:23:58 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1995-07-04 16:23:58 +0000 |
commit | 194fc93542a4d8d88ed74628d43073e6f3ad13c3 (patch) | |
tree | 1f2e6fec1b4c6b06ea526719f4d9b5a4f413b7d5 /bfd/ecoff.c | |
parent | 249c7415a4fe4e628a2adc10dfd17b1d73cd677d (diff) | |
download | gdb-194fc93542a4d8d88ed74628d43073e6f3ad13c3.zip gdb-194fc93542a4d8d88ed74628d43073e6f3ad13c3.tar.gz gdb-194fc93542a4d8d88ed74628d43073e6f3ad13c3.tar.bz2 |
* ecoff.c (_bfd_ecoff_find_nearest_line): Also initialize
find_buffer and fdrtab_len fields of newly allocated
find_line_info structure.
Diffstat (limited to 'bfd/ecoff.c')
-rw-r--r-- | bfd/ecoff.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/ecoff.c b/bfd/ecoff.c index e98ac21..21d81d9 100644 --- a/bfd/ecoff.c +++ b/bfd/ecoff.c @@ -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; |