Re: [Kgdb-bugreport] kgdb_arch_set/remove_break() ?

From: Anurekh Saxena
Date: Wed Mar 24 2004 - 15:26:52 EST



On Wed, Mar 24, 2004 at 08:05:21PM +0530, Amit S. Kale wrote:
> On Friday 19 Mar 2004 9:33 pm, Tom Rini wrote:
> > Hi. Right now I'm writing up a porting doc that describes the various
> > hook functions we've got. I noticed that nothing is calling
> > kgdb_arch_set/remove_break. Is there some arch we're expecting will
> > need this? I'd like to just go ahead and remove them
>
> I can't remember why that was done. A processor other than PPC, x86 and x86_64
> needs a special implementation of set and remove breakpoint, I guess.
>
> Anurekh, who did initial implementation of arch independent-dependent split
> may have some comments on this.


*set_break
*remove_break

These functions should only be defined for architecutes that support
hardware breakpoint. Set KGDB_HW_BREAKPOINT flag.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/