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/ChangeLog | 5 +++++ c/src/librdbg/src/powerpc/excep_f.c | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/c/src/ChangeLog b/c/src/ChangeLog index f5980aac8a..15396afd6e 100644 --- a/c/src/ChangeLog +++ b/c/src/ChangeLog @@ -1,3 +1,8 @@ +2005-06-17 Joel Sherrill + + * librdbg/src/powerpc/excep_f.c: Conditionalize use of ISI vector since + it is not supported by the MPC5xx. + 2005-06-17 Joel Sherrill * libchip/network/if_dc.c: Begin to convert to new PCI and IRQ 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