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: [RFA] Enhance stabs reader to better deal with forward references


> > 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


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