diff options
Diffstat (limited to 'gcc/ada/sigtramp.h')
-rw-r--r-- | gcc/ada/sigtramp.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ada/sigtramp.h b/gcc/ada/sigtramp.h index 7419e17..2be20e5 100644 --- a/gcc/ada/sigtramp.h +++ b/gcc/ada/sigtramp.h @@ -6,7 +6,7 @@ * * * C Header File * * * - * Copyright (C) 2011-2014, Free Software Foundation, Inc. * + * Copyright (C) 2011-2015, Free Software Foundation, Inc. * * * * GNAT is free software; you can redistribute it and/or modify it under * * terms of the GNU General Public License as published by the Free Soft- * @@ -62,8 +62,14 @@ typedef struct ucontext system headers so call it something unique. */ typedef void __sigtramphandler_t (int signo, void *siginfo, void *sigcontext); +#if CPU == SIMNT || CPU == SIMPENTIUM + /* Vxsim requires a specially compiled handler. */ + void __gnat_sigtramp_vxsim (int signo, void *siginfo, void *sigcontext, + __sigtramphandler_t * handler); +#else void __gnat_sigtramp (int signo, void *siginfo, void *sigcontext, __sigtramphandler_t * handler); +#endif /* To be called from an established signal handler. Setup the DWARF CFI bits letting unwinders walk through the signal frame up into the |