gdb_bfd_unref failed assertion on AIX.
[deliverable/binutils-gdb.git] / gdb / rs6000-nat.c
index 3eb2cd70993e20672d70aebc8e15eb585ce45569..2d2df5bce2da46f18504716cab0e7a97944bdc6d 100644 (file)
@@ -771,6 +771,7 @@ add_vmap (LdInfo *ldi)
 
          next = gdb_bfd_openr_next_archived_file (abfd, last);
          gdb_bfd_unref (last);
+         last = next;
        }
 
       if (!last)
This page took 0.025339 seconds and 4 git commands to generate.