This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Enhance stabs reader to better deal with forward references
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb-patches at sourceware dot org
- Date: Thu, 29 Mar 2007 11:36:09 -0700
- Subject: Re: [RFA] Enhance stabs reader to better deal with forward references
- References: <20070209194107.GA3365@adacore.com> <20070227165003.GB31729@caradoc.them.org> <20070228201201.GH13140@adacore.com> <20070327162947.GC3452@caradoc.them.org>
> > 2007-02-08 Joel Brobecker <brobecker@adacore.com>
> >
> > * stabsread.c (add_undefined_type): Add extra parameter.
> > Now handles nameless types separately.
> > (struct nat): New type.
> > (noname_undefs, noname_undefs_allocated, noname_undefs_length):
> > New static variables.
> > (read_type): Update calls to add_undefined_type.
> > (add_undefined_type_noname): New function.
> > (add_undefined_type_1): Renames from add_undefined_type.
> > (cleanup_undefined_types_noname): New function.
> > (cleanup_undefined_types_1): Renames cleanup_undefined_types.
> > (cleanup_undefined_types): New handles nameless types separately.
> > (_initialize_stabsread): Initialize our new static constants.
> >
> > The following patch has been tested on x86-linux with -gstabs+.
> > OK to apply?
>
> This is OK.
Thanks, Daniel. Now checked in after fixing the errors you pointed out.
--
Joel