diff options
author | Dongdong Deng <dongdong.deng@windriver.com> | 2010-10-28 06:47:00 +0400 |
---|---|---|
committer | Jason Wessel <jason.wessel@windriver.com> | 2010-10-29 22:14:42 +0400 |
commit | ff10b88b5a05c8f1646dd15fb9f6093c1384ff6d (patch) | |
tree | e620eda79f8062dc858a0429096ec7d0332ce760 /arch/powerpc/include/asm/kgdb.h | |
parent | 4dacd5c073150cd78dfb6004cbfa71986f0258a4 (diff) | |
download | linux-ff10b88b5a05c8f1646dd15fb9f6093c1384ff6d.tar.xz |
kgdb,ppc: Individual register get/set for ppc
commit 534af1082329392bc29f6badf815e69ae2ae0f4c(kgdb,kdb: individual
register set and and get API) introduce dbg_get_reg/dbg_set_reg API
for individual register get and set.
This patch implement those APIs for ppc.
Signed-off-by: Dongdong Deng <dongdong.deng@windriver.com>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Diffstat (limited to 'arch/powerpc/include/asm/kgdb.h')
-rw-r--r-- | arch/powerpc/include/asm/kgdb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/kgdb.h b/arch/powerpc/include/asm/kgdb.h index edd217006d27..9db24e77b9f4 100644 --- a/arch/powerpc/include/asm/kgdb.h +++ b/arch/powerpc/include/asm/kgdb.h @@ -31,6 +31,7 @@ static inline void arch_kgdb_breakpoint(void) asm(".long 0x7d821008"); /* twge r2, r2 */ } #define CACHE_FLUSH_IS_SAFE 1 +#define DBG_MAX_REG_NUM 70 /* The number bytes of registers we have to save depends on a few * things. For 64bit we default to not including vector registers and |