Thread (21 messages) flat view 21 messages, 3 authors, 2011-12-08

Re: [PATCH 2/2] [PowerPC Book3E] Introduce new ptrace debug feature flag

From: K.Prasad <hidden>
Date: 2011-08-23 09:28:04

On Tue, Aug 23, 2011 at 03:09:31PM +1000, David Gibson wrote:
On Fri, Aug 19, 2011 at 01:23:38PM +0530, K.Prasad wrote:
quoted
While PPC_PTRACE_SETHWDEBUG ptrace flag in PowerPC accepts
PPC_BREAKPOINT_MODE_EXACT mode of breakpoint, the same is not intimated to the
user-space debuggers (like GDB) who may want to use it. Hence we introduce a
new PPC_DEBUG_FEATURE_DATA_BP_EXACT flag which will be populated on the
"features" member of "struct ppc_debug_info" to advertise support for the
same on Book3E PowerPC processors.
I thought the idea was that the BP_EXACT mode was the default - if the
new interface was supported at all, then BP_EXACT was always
supported.  So, why do you need a new flag?
Yes, BP_EXACT was always supported but not advertised through
PPC_PTRACE_GETHWDBGINFO. We're now doing that.

Thanks,
K.Prasad
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help