]> git.baikalelectronics.ru Git - kernel.git/commit
kgdb,kdb: individual register set and and get API
authorJason Wessel <jason.wessel@windriver.com>
Thu, 5 Aug 2010 14:22:20 +0000 (09:22 -0500)
committerJason Wessel <jason.wessel@windriver.com>
Thu, 5 Aug 2010 14:22:20 +0000 (09:22 -0500)
commit7f55f3c9300c2eb60146257124106a13dfe808ce
treee163c1d5c418334538447983b7d5934e05fa4d71
parentd424fcc32ac400d4dce3e3ce66942c31ee7993d6
kgdb,kdb: individual register set and and get API

The kdb shell specification includes the ability to get and set
architecture specific registers by name.

For the time being individual register get and set will be implemented
on a per architecture basis.  If an architecture defines
DBG_MAX_REG_NUM > 0 then kdb and the gdbstub will use the capability
for individually getting and setting architecture specific registers.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
include/linux/kgdb.h
kernel/debug/gdbstub.c
kernel/debug/kdb/kdb_main.c