Re: [patch 16/16] Add hardware breakpoint support for i386

From: Keith Owens
Date: Mon Aug 29 2005 - 20:07:50 EST


On Mon, 29 Aug 2005 09:12:08 -0700,
Tom Rini <trini@xxxxxxxxxxxxxxxxxxx> wrote:
>
>This adds hardware breakpoint support for i386. This is not as well tested as
>software breakpoints, but in some minimal testing appears to be functional.

Hardware breakpoints must be per cpu, not global. Also you will fall
over applications that are using gdb, because gdb uses the same
registers. KDB has never really supported kernel hardware breakpoints,
they are hard to do without stamping on user space.

-
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/