This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Kill ptrace_ops_hack
- From: Daniel Jacobowitz <drow at false dot org>
- To: Vladimir Prus <vladimir at codesourcery dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sat, 13 Sep 2008 11:33:42 -0400
- Subject: Re: [RFA] Kill ptrace_ops_hack
- References: <200808192133.34582.vladimir@codesourcery.com>
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