diff options
author | Richard Kuo <rkuo@codeaurora.org> | 2012-03-27 17:38:09 -0500 |
---|---|---|
committer | Richard Kuo <rkuo@codeaurora.org> | 2013-04-30 19:40:23 -0500 |
commit | 60c4ba99e015afe879c2682967c8ca8d233f6d3c (patch) | |
tree | ddf41e569dd852c627ad8008b756d224694861c5 /arch/hexagon/kernel/kgdb.c | |
parent | 444dd742d3b0353c55c92f77e6732d932120c829 (diff) | |
download | linux-stable-60c4ba99e015afe879c2682967c8ca8d233f6d3c.tar.gz linux-stable-60c4ba99e015afe879c2682967c8ca8d233f6d3c.tar.bz2 linux-stable-60c4ba99e015afe879c2682967c8ca8d233f6d3c.zip |
Hexagon: add support for new v4+ registers
Add support for a couple new v4+ registers, along with
newer save/restore pt_regs.
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Diffstat (limited to 'arch/hexagon/kernel/kgdb.c')
-rw-r--r-- | arch/hexagon/kernel/kgdb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/hexagon/kernel/kgdb.c b/arch/hexagon/kernel/kgdb.c index 344645370646..19f9e6ca5e33 100644 --- a/arch/hexagon/kernel/kgdb.c +++ b/arch/hexagon/kernel/kgdb.c @@ -70,6 +70,8 @@ struct dbg_reg_def_t dbg_reg_def[DBG_MAX_REG_NUM] = { { "lc1", GDB_SIZEOF_REG, offsetof(struct pt_regs, lc1)}, { " gp", GDB_SIZEOF_REG, offsetof(struct pt_regs, gp)}, { "ugp", GDB_SIZEOF_REG, offsetof(struct pt_regs, ugp)}, + { "cs0", GDB_SIZEOF_REG, offsetof(struct pt_regs, cs0)}, + { "cs1", GDB_SIZEOF_REG, offsetof(struct pt_regs, cs1)}, { "psp", GDB_SIZEOF_REG, offsetof(struct pt_regs, hvmer.vmpsp)}, { "elr", GDB_SIZEOF_REG, offsetof(struct pt_regs, hvmer.vmel)}, { "est", GDB_SIZEOF_REG, offsetof(struct pt_regs, hvmer.vmest)}, |