author | Mike Frysinger
<vapier@gentoo.org> 2010-04-12 05:53:35 UTC |
committer | Mike Frysinger
<vapier@gentoo.org> 2010-05-22 18:19:07 UTC |
parent | a80d5f449d1794d8e402f28cf3e1e9b57cb9f2d4 |
arch/blackfin/kernel/kgdb.c | +1 | -1 |
diff --git a/arch/blackfin/kernel/kgdb.c b/arch/blackfin/kernel/kgdb.c index 2c501ceb1e5..ad1c0530848 100644 --- a/arch/blackfin/kernel/kgdb.c +++ b/arch/blackfin/kernel/kgdb.c @@ -66,7 +66,7 @@ void pt_regs_to_gdb_regs(unsigned long *gdb_regs, struct pt_regs *regs) gdb_regs[BFIN_RETN] = regs->retn; gdb_regs[BFIN_RETE] = regs->rete; gdb_regs[BFIN_PC] = regs->pc; - gdb_regs[BFIN_CC] = 0; + gdb_regs[BFIN_CC] = (regs->astat >> 5) & 1; gdb_regs[BFIN_EXTRA1] = 0; gdb_regs[BFIN_EXTRA2] = 0; gdb_regs[BFIN_EXTRA3] = 0;