summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--c/src/ChangeLog5
-rw-r--r--c/src/librdbg/src/powerpc/excep_f.c5
2 files changed, 9 insertions, 1 deletions
diff --git a/c/src/ChangeLog b/c/src/ChangeLog
index f5980aac8a..15396afd6e 100644
--- a/c/src/ChangeLog
+++ b/c/src/ChangeLog
@@ -1,5 +1,10 @@
2005-06-17 Joel Sherrill <joel@OARcorp.com>
+ * librdbg/src/powerpc/excep_f.c: Conditionalize use of ISI vector since
+ it is not supported by the MPC5xx.
+
+2005-06-17 Joel Sherrill <joel@OARcorp.com>
+
* libchip/network/if_dc.c: Begin to convert to new PCI and IRQ
interface. Also correct attempting to build on other than PowerPC and
x86.
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: