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)
commit534af1082329392bc29f6badf815e69ae2ae0f4c
treee163c1d5c418334538447983b7d5934e05fa4d71
parent84a0bd5b2830722cf80ff6ad33ef98101a947e14
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