blackfin,kgdb: Do not put PC in gdb_regs into retx.
authorSonic Zhang <sonic.adi@gmail.com>
Thu, 7 Jan 2010 17:58:37 +0000 (11:58 -0600)
committerJason Wessel <jason.wessel@windriver.com>
Thu, 7 Jan 2010 17:58:37 +0000 (11:58 -0600)
commit7fe1a91281de095e4cc43868cc14ca4937154a0c
treee0037f6ae8b893bd4f691c0b40704ed49d0e05f4
parent0fde663708c981189e4e62f3be51e02b1ad4eead
blackfin,kgdb: Do not put PC in gdb_regs into retx.

In blackfin, kgdb is running in delayed exception IRQ5 other than in
exception IRQ3 directly.  Register reti other than retx in pt_regs is
the kgdb return address. So, don't put PC in gdb_regs into retx.

CC: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Sonic Zhang <sonic.adi@gmail.com>
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
arch/blackfin/kernel/kgdb.c