From cb4185cb7c8761f178bc7637f8cdef269aa46898 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 17 Jun 2005 14:35:57 +0000 Subject: 2005-06-17 Joel Sherrill * librdbg/src/powerpc/excep_f.c: Conditionalize use of ISI vector since it is not supported by the MPC5xx. --- c/src/librdbg/src/powerpc/excep_f.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'c/src/librdbg/src') 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 #include - 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: -- cgit v1.2.3