This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 01/10] change gdb to refcount bfd everywhere


On Mon, 23 Jul 2012 20:53:47 +0200, Tom Tromey wrote:
>    else if (bfd_check_format (abfd, bfd_archive))
>      {
> -      last = 0;
> -      /* FIXME??? am I tossing BFDs?  bfd?  */
> -      while ((last = gdb_bfd_openr_next_archived_file (abfd, last)))
> +      last = gdb_bfd_openr_next_archived_file (abfd, NULL);
> +      while (last != NULL)

So you have resolved this question I see.


Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]