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: MI: fix base members in references


 > > It seems to handle variable objects of references to pointers correctly.
 > > Have you tried it?
 > 
 > No, I trust you when you say that the patch as the whole fixes the problem.
 > However, given the definition of get_type_deref I don't understand how it
 > does that. You patch has four hunks, and in two of the you check for pointer
 > type and call get_target_type immediately after call to get_type_deref. It
 > looks like it should have no effect, so I'd like to understand what I'm
 > missing.

Its not about trust but verification.  If you find my patch does what I think
it does then I'm probably right and you'll get to understand what you're
missing.  If you find it doesn't work then I'll have look more carefully to see
what I've got wrong.

-- 
Nick                                           http://www.inet.net.nz/~nickrob


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