This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] symtab.c: Set "first" to zero.
On Tue, Jul 10, 2012 at 9:01 AM, Tom Tromey <tromey@redhat.com> wrote:
>
> >>>>> "Doug" == Doug Evans <dje@google.com> writes:
>
> Doug> 2012-07-09 Doug Evans <dje@google.com>
> Doug> * symtab.c (maybe_add_partial_symtab_filename): Set "first" to zero
> Doug> after calling filename_seen.
> Doug> (make_source_files_completion_list): Ditto.
>
> I wonder whether filename_seen should clear *first.
>
> Tom
[Blech. Sorry for the repeat. Original got sent as rich html.]
Heh. :-)
I couldn't understand why it wasn't originally done that way so I left
it at that.
"works for me".