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: Variable objects: references formatting


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


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