aboutsummaryrefslogtreecommitdiff
path: root/bfd/versados.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2000-05-08 10:00:27 +0000
committerAlan Modra <amodra@gmail.com>2000-05-08 10:00:27 +0000
commitbfde9f995ab582a4ab042cecd62e808b14c9c463 (patch)
treee4352dcdd5879dd022d5d094065af5fafb1e78b4 /bfd/versados.c
parent821011cc5b04dd05c9923eae278b676a9ced4ccd (diff)
downloadgdb-bfde9f995ab582a4ab042cecd62e808b14c9c463.zip
gdb-bfde9f995ab582a4ab042cecd62e808b14c9c463.tar.gz
gdb-bfde9f995ab582a4ab042cecd62e808b14c9c463.tar.bz2
Fix coredump discovered running m68k testsuite.
Diffstat (limited to 'bfd/versados.c')
-rw-r--r--bfd/versados.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/bfd/versados.c b/bfd/versados.c
index 27f4f88..d3ebda4 100644
--- a/bfd/versados.c
+++ b/bfd/versados.c
@@ -1,5 +1,5 @@
/* BFD back-end for VERSAdos-E objects.
- Copyright 1995, 96, 97, 98, 1999 Free Software Foundation, Inc.
+ Copyright 1995, 96, 97, 98, 99, 2000 Free Software Foundation, Inc.
Written by Steve Chamberlain of Cygnus Support <sac@cygnus.com>.
Versados is a Motorola trademark.
@@ -483,10 +483,12 @@ versados_scan (abfd)
int j;
int nsecs = 0;
+ VDATA (abfd)->stringlen = 0;
VDATA (abfd)->nrefs = 0;
VDATA (abfd)->ndefs = 0;
VDATA (abfd)->ref_idx = 0;
VDATA (abfd)->def_idx = 0;
+ VDATA (abfd)->pass_2_done = 0;
while (loop)
{