diff options
| author | Jason Wessel <[email protected]> | 2012-03-21 15:17:03 +0000 |
|---|---|---|
| committer | Jason Wessel <[email protected]> | 2012-03-29 22:41:25 +0000 |
| commit | 98b54aa1a2241b59372468bd1e9c2d207bdba54b (patch) | |
| tree | 0a6cc3bc8426434a176e0fcb3c2da23d383a5a3b /lib/mpi/mpi-inline.h | |
| parent | kgdbts: (2 of 2) fix single step awareness to work correctly with SMP (diff) | |
| download | kernel-98b54aa1a2241b59372468bd1e9c2d207bdba54b.tar.gz kernel-98b54aa1a2241b59372468bd1e9c2d207bdba54b.zip | |
kgdb,debug_core: pass the breakpoint struct instead of address and memory
There is extra state information that needs to be exposed in the
kgdb_bpt structure for tracking how a breakpoint was installed. The
debug_core only uses the the probe_kernel_write() to install
breakpoints, but this is not enough for all the archs. Some arch such
as x86 need to use text_poke() in order to install a breakpoint into a
read only page.
Passing the kgdb_bpt structure to kgdb_arch_set_breakpoint() and
kgdb_arch_remove_breakpoint() allows other archs to set the type
variable which indicates how the breakpoint was installed.
Cc: [email protected] # >= 2.6.36
Signed-off-by: Jason Wessel <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions
