kgdb,arm: fix register dump
authorRabin Vincent <rabin@rab.in>
Tue, 26 Oct 2010 17:49:00 +0000 (12:49 -0500)
committerJason Wessel <jason.wessel@windriver.com>
Fri, 29 Oct 2010 18:14:40 +0000 (13:14 -0500)
DBG_MAX_REG_NUM incorrectly had the number of indices in the GDB regs
array rather than the number of registers, leading to an oops when the
"rd" command is used in KDB.

Cc: stable@kernel.org
Signed-off-by: Rabin Vincent <rabin@rab.in>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>

No differences found