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: [RFC] How to get target_ops from to_kill method?


On Tuesday 17 March 2009 17:46:25, Joel Brobecker wrote:
> Here is what I propose to check in. Do you think I should remove
> the INHERIT for the to_kill method as well?
> 

Yes.  You're not accessing the inherited or de_faulted
current_target.to_kill anymore.  You always go through the non-inherited
current_target.beneath->to_kill, so, you can remove the INHERIT, and the
de_fault for to_kill.

-- 
Pedro Alves


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