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

2012-02-15 Thread Thiago Jung Bauermann
On Mon, 2012-01-16 at 19:18 +1100, David Gibson wrote: > Hrm. An EXACT breakpoint is not exactly the same as a range > breakpoint of length 1 (consider unaligned accesses). But despite > that, it should be possible to implement exact breakpoints on Book3S > server hardware with some software filt

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

2012-01-16 Thread David Gibson
On Thu, Dec 22, 2011 at 03:04:47PM +0530, K.Prasad wrote: > On Wed, Dec 21, 2011 at 11:55:02AM +1100, David Gibson wrote: > > On Thu, Dec 08, 2011 at 04:53:30PM +0530, K.Prasad wrote: > > > While PPC_PTRACE_SETHWDEBUG ptrace flag in PowerPC accepts > > > PPC_BREAKPOINT_MODE_EXACT mode of breakpoint

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

2011-12-22 Thread K.Prasad
On Wed, Dec 21, 2011 at 11:55:02AM +1100, David Gibson wrote: > On Thu, Dec 08, 2011 at 04:53:30PM +0530, K.Prasad wrote: > > 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 (

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

2011-12-20 Thread David Gibson
On Thu, Dec 08, 2011 at 04:53:30PM +0530, K.Prasad wrote: > 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_FEAT

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

2011-12-08 Thread K.Prasad
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" m

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

2011-09-18 Thread David Gibson
On Tue, Aug 30, 2011 at 09:27:41PM -0300, Thiago Jung Bauermann wrote: > On Fri, 2011-08-26 at 14:41 +1000, David Gibson wrote: > > On Wed, Aug 24, 2011 at 09:41:43PM -0300, Thiago Jung Bauermann wrote: > > > On Wed, 2011-08-24 at 14:00 +1000, David Gibson wrote: > > > > On Tue, Aug 23, 2011 at 02:

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

2011-08-30 Thread Thiago Jung Bauermann
On Fri, 2011-08-26 at 14:41 +1000, David Gibson wrote: > On Wed, Aug 24, 2011 at 09:41:43PM -0300, Thiago Jung Bauermann wrote: > > On Wed, 2011-08-24 at 14:00 +1000, David Gibson wrote: > > > On Tue, Aug 23, 2011 at 02:57:56PM +0530, K.Prasad wrote: > > > > On Tue, Aug 23, 2011 at 03:09:31PM +1000

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

2011-08-25 Thread David Gibson
On Wed, Aug 24, 2011 at 09:41:43PM -0300, Thiago Jung Bauermann wrote: > On Wed, 2011-08-24 at 14:00 +1000, David Gibson wrote: > > On Tue, Aug 23, 2011 at 02:57:56PM +0530, K.Prasad wrote: > > > On Tue, Aug 23, 2011 at 03:09:31PM +1000, David Gibson wrote: > > > > On Fri, Aug 19, 2011 at 01:23:38P

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

2011-08-24 Thread Thiago Jung Bauermann
On Wed, 2011-08-24 at 14:00 +1000, David Gibson wrote: > On Tue, Aug 23, 2011 at 02:57:56PM +0530, K.Prasad wrote: > > 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: > > > > > > > > While PPC_PTRACE_SETHWDEBUG ptrace fl

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

2011-08-23 Thread David Gibson
On Tue, Aug 23, 2011 at 02:57:56PM +0530, K.Prasad wrote: > 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: > > > > > > While PPC_PTRACE_SETHWDEBUG ptrace flag in PowerPC accepts > > > PPC_BREAKPOINT_MODE_EXACT mode of bre

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

2011-08-23 Thread K.Prasad
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: > > > > 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 debugg

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

2011-08-22 Thread David Gibson
On Fri, Aug 19, 2011 at 01:23:38PM +0530, K.Prasad wrote: > > 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_F

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

2011-08-19 Thread K.Prasad
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"