diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-02-15 01:43:01 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-02-15 01:43:01 +0000 |
commit | 538d6013a6d9f81576bbd6e87bf9932303ee36e8 (patch) | |
tree | a79d2dd7d3000d22097c57b8b493ced56e7b40aa /nuttx/arch/sh/src/m16c/m16c_sigdeliver.c | |
parent | c84258e30f468b86a586b8ac67c52a2959c49069 (diff) | |
download | px4-nuttx-538d6013a6d9f81576bbd6e87bf9932303ee36e8.tar.gz px4-nuttx-538d6013a6d9f81576bbd6e87bf9932303ee36e8.tar.bz2 px4-nuttx-538d6013a6d9f81576bbd6e87bf9932303ee36e8.zip |
Add M16C register dump logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1503 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/sh/src/m16c/m16c_sigdeliver.c')
-rw-r--r-- | nuttx/arch/sh/src/m16c/m16c_sigdeliver.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/arch/sh/src/m16c/m16c_sigdeliver.c b/nuttx/arch/sh/src/m16c/m16c_sigdeliver.c index 7cea935e4..2d4cf2069 100644 --- a/nuttx/arch/sh/src/m16c/m16c_sigdeliver.c +++ b/nuttx/arch/sh/src/m16c/m16c_sigdeliver.c @@ -102,9 +102,9 @@ void up_sigdeliver(void) /* Save the real return state on the stack. */ up_copystate(regs, rtcb->xcp.regs); - regs[REG_PC16] = rtcb->xcp.saved_pc[0]; - regs[REG_PC16+1] = rtcb->xcp.saved_pc[1]; - regs[REG_FLG] = rtcb->xcp.saved_flg; + regs[REG_PC] = rtcb->xcp.saved_pc[0]; + regs[REG_PC+1] = rtcb->xcp.saved_pc[1]; + regs[REG_FLG] = rtcb->xcp.saved_flg; /* Get a local copy of the sigdeliver function pointer. * we do this so that we can nullify the sigdeliver |