summaryrefslogtreecommitdiffstats
path: root/c/src/librdbg/src
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/librdbg/src')
-rw-r--r--c/src/librdbg/src/powerpc/excep_f.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/c/src/librdbg/src/powerpc/excep_f.c b/c/src/librdbg/src/powerpc/excep_f.c
index b821f39c1d..70aef39880 100644
--- a/c/src/librdbg/src/powerpc/excep_f.c
+++ b/c/src/librdbg/src/powerpc/excep_f.c
@@ -17,7 +17,7 @@
#include <rdbg/rdbg.h>
#include <rdbg/servrpc.h>
- int
+int
ExcepToSig (Exception_context * ctx)
{
int excep = getExcNum (ctx);
@@ -31,8 +31,11 @@ ExcepToSig (Exception_context * ctx)
case ASM_SYS_VECTOR:
return SIGTRAP;
+ /* At lest the MPC5xx series does not have this vector */
+#if defined(ASM_ISI_VECTOR)
case ASM_ISI_VECTOR:
return SIGSEGV;
+#endif
case ASM_RESET_VECTOR:
case ASM_MACH_VECTOR: