This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] wrong pointer type length part 2 (of 2)
On Thu, May 17, 2007 at 11:51:44AM -0700, Joel Brobecker wrote:
> > > > As a followup to this patch, I think that the same needs to be done
> > > > for at least make_reference_type, but I don't have hard evidence that
> > > > this will ever be needed right now. If it is agreed that this function
> > > > also needs an update, it can be made independently in a followup patch.
> > >
> > > Yes please.
> >
> > I'm working on the second part right now...
>
> OK, here is the second part that deals with reference types.
>
> 2007-05-17 Joel Brobecker <brobecker@adacore.com>
>
> * gdbtypes.c (make_reference_type): Preserve the type chain
> and set the length of all the variants of the pointer type.
>
> Tested on x86-linux (elf/dwarf), and ppc-aix (xcoff/stabs).
> OK to commit?
OK.
--
Daniel Jacobowitz
CodeSourcery