This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] disable ptrace BookE interface for PowerPC server processors
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: emachado at linux dot vnet dot ibm dot com
- Cc: gdb-patches at sourceware dot org, emachado at linux dot vnet dot ibm dot com
- Date: Tue, 22 May 2012 19:34:00 +0200 (CEST)
- Subject: Re: [PATCH] disable ptrace BookE interface for PowerPC server processors
- References: <1337700251-9366-1-git-send-email-emachado@linux.vnet.ibm.com>
> From: Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
> Date: Tue, 22 May 2012 12:24:11 -0300
>
> Hi,
>
> the ptrace BookE interface originally implemented only for embedded systems
> should be available for Power servers processors as well shortly [1].
> However, while this is not usable in upstream kernel, gdb should enforce
> the usage of the old ptrace mechanism (using PTRACE_SET_DEBUGREG) on
> servers, even if BookE debug registers are reported as available.
But how are you going to handle this when that functionality does
become available?