diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-10-13 14:50:12 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-10-16 08:58:45 -0500 |
commit | cba474ea2d7ba83d68f7ee7c2ce7028950677cc6 (patch) | |
tree | a16e9a9210d7872b9c00bdcdb5fa28cd8baf0168 /c/src/lib/libbsp/m68k/ods68302/startup/m68k-stub.c | |
parent | libcpu/arm/shared/../mmu: Fix warnings (diff) | |
download | rtems-cba474ea2d7ba83d68f7ee7c2ce7028950677cc6.tar.bz2 |
m68k/ods68302: Fix warnings
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/m68k/ods68302/startup/m68k-stub.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/m68k/ods68302/startup/m68k-stub.c b/c/src/lib/libbsp/m68k/ods68302/startup/m68k-stub.c index e82bb72504..d9533efa06 100644 --- a/c/src/lib/libbsp/m68k/ods68302/startup/m68k-stub.c +++ b/c/src/lib/libbsp/m68k/ods68302/startup/m68k-stub.c @@ -537,6 +537,12 @@ __asm__ (" movel %d0,%sp@-"); /* push exception onto stack */ __asm__ (" jbsr handle_exception"); /* this never returns */ __asm__ (" rts"); /* return */ +/* + * This is only called from assembly in this file. This file is a self + * contained gdb stub. + */ +void _returnFromException(Frame *frame); + void _returnFromException(Frame *frame) { /* if no passed in frame, use the last one */ |