[RFC] How to get target_ops from to_kill method?

Joel Brobecker brobecker@adacore.com
Mon Mar 16 17:24:00 GMT 2009


> Thank you very much for handling these breakages.

No problem, I know how easily they can happen.

[about having a target_ops argument for all methods]
> Mostly, because it's a bunch of work that affects most native
> targets.  I tried hard to avoid missing any conversion in
> the last set of changes, but, it ended up I broke a lot
> of stuff...  But, yeah, there's a lot of inconsistency
> here.

Yeah, fixing them all would be a lot of work, indeed. How about
we decide that, from now on, all new methods should have a target_ops
parameter as their first argument? Do you think that it would be
a good thing? We can fix the others as needed...


> I much prefer this version over the other.  It's incremental, and
> doesn't add any hack or reference to the current_target global.

Me too. I haven't checked it in, yet, because it would become
unecessary if we added the target_ops parameter to the to_kill
method, which I can take care of.... What do you think?

-- 
Joel



More information about the Gdb-patches mailing list