Blackfin: kgdb: pass up the CC register instead of a 0 stub
authorMike Frysinger <vapier@gentoo.org>
Mon, 12 Apr 2010 05:53:35 +0000 (05:53 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sat, 22 May 2010 18:19:07 +0000 (14:19 -0400)
commitd2db97bf6bafde4ec114d1837dd3fc4cea64b2ea
treed16670f4269cf3255c2deb333a2895a8ef01b821
parenta80d5f449d1794d8e402f28cf3e1e9b57cb9f2d4
Blackfin: kgdb: pass up the CC register instead of a 0 stub

While the CC pseudo register can be deduced from the ASTAT register, make
sure we set its value correctly instead of always stubbing it out as 0.
GDB itself looks at this pseudo register instead of ASTAT, so we have to
supply the right value.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/kernel/kgdb.c