Variable objects: references formatting

Vladimir Prus ghost@cs.msu.su
Thu May 4 06:10:00 GMT 2006


On Thursday 04 May 2006 10:08, Jim Blandy wrote:
> On 5/3/06, Vladimir Prus <ghost@cs.msu.su> wrote:
> > > - In GDB, when traversing types, remember to call check_typedef to
> > > avoid having your traversal stopped by typedef nodes.
> >
> > Thanks, noted. So, in this case I should have called check_typedef before
> > checking if type is reference, right?
>
> Well, the get_type function is taking care of that one for you.  So
> it's enough to check the new types you uncover with TYPE_TARGET_TYPE.

Ok, I see.

>
> > Would you like me to resend the patch adjusted per your comments, or
> > you've already done those changes locally?
>
> I've already done them.  Here's the patch I actually committed (which
> I should have posted when I did so):

Thanks you!

- Volodya



More information about the Gdb-patches mailing list