[RFA] Kill ptrace_ops_hack

Daniel Jacobowitz drow@false.org
Sat Sep 13 15:34:00 GMT 2008


On Tue, Aug 19, 2008 at 09:33:34PM +0400, Vladimir Prus wrote:
> 
> This is the complete patch to kill ptrace_ops_hack. The approach is
> outlined at http://permalink.gmane.org/gmane.comp.gdb.patches/43085
> is involves adding 'struct target_ops *' parameter to enough target
> methods to make ptrace_ops_hack unnecessary.
> 
> This patch mechanically adjusts all other targets to the changes,
> but does not try to make those target take advantage of the new
> parameter. It appears there there's a lot of target that have a 
> static variable poiting either to themself, or to the target beneath,
> and each such target probably should be fixed individually, but somebody
> who can test on this target.
> 
> OK?

Yes, this is OK.  Thanks for cleaning this up!

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list