diff options
author | Ian Lance Taylor <ian@airs.com> | 1995-07-03 22:41:51 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1995-07-03 22:41:51 +0000 |
commit | 3a6eecd42f626f171e1f597a682fbe45a83f564d (patch) | |
tree | 066f7cc718294e664414c1a593b0970684b2b7d6 /bfd | |
parent | 9fd10c34d0d1274da7055948cb3454a3c5b6d5e1 (diff) | |
download | gdb-3a6eecd42f626f171e1f597a682fbe45a83f564d.zip gdb-3a6eecd42f626f171e1f597a682fbe45a83f564d.tar.gz gdb-3a6eecd42f626f171e1f597a682fbe45a83f564d.tar.bz2 |
* ecoff.c (_bfd_ecoff_find_nearest_line): If we allocate
find_line_info, clear the fdrtab field.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 3 | ||||
-rw-r--r-- | bfd/ecoff.c | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 0fb0e2a..cfb81a5 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -7,6 +7,9 @@ Mon Jul 3 13:55:18 1995 Steve Chamberlain <sac@slash.cygnus.com> Mon Jul 3 11:30:45 1995 Ian Lance Taylor <ian@cygnus.com> + * ecoff.c (_bfd_ecoff_find_nearest_line): If we allocate + find_line_info, clear the fdrtab field. + * targets.c (enum bfd_flavour): Add bfd_target_msdos_flavour here, rather than in bfd-in2.h. diff --git a/bfd/ecoff.c b/bfd/ecoff.c index 8d67697..e98ac21 100644 --- a/bfd/ecoff.c +++ b/bfd/ecoff.c @@ -1852,6 +1852,7 @@ _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->fdrtab = NULL; } line_info = ecoff_data (abfd)->find_line_info; |