From cba474ea2d7ba83d68f7ee7c2ce7028950677cc6 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 13 Oct 2014 14:50:12 -0500 Subject: m68k/ods68302: Fix warnings --- c/src/lib/libbsp/m68k/ods68302/startup/m68k-stub.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'c/src/lib/libbsp/m68k/ods68302/startup/m68k-stub.c') 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 */ -- cgit v1.2.3