2010-04-28 Joel Sherrill <joel.sherrilL@OARcorp.com>

* shared/gdbstub/mips-stub.c: Remove warnings.
This commit is contained in:
Joel Sherrill
2010-04-28 18:59:49 +00:00
parent dc9c137334
commit f7c9b9e816
2 changed files with 6 additions and 6 deletions

View File

@@ -1,3 +1,7 @@
2010-04-28 Joel Sherrill <joel.sherrilL@OARcorp.com>
* shared/gdbstub/mips-stub.c: Remove warnings.
2008-08-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* shared/gdbstub/mips-stub.c: Add missing prototypes.

View File

@@ -931,6 +931,7 @@ CPU_Interrupt_frame current_thread_registers;
* reacts to gdb's requests.
*/
extern void clear_cache(void);
void handle_exception (rtems_vector_number vector, CPU_Interrupt_frame *frame)
{
int host_has_detached = 0;
@@ -1439,12 +1440,7 @@ void handle_exception (rtems_vector_number vector, CPU_Interrupt_frame *frame)
* but not necessarily the I-cache.
*/
{
extern void clear_cache(void);
clear_cache();
}
return;
clear_cache();
}
static int numsegs;