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.
This commit is contained in:
Joel Sherrill
2005-06-17 14:35:57 +00:00
parent 6fdd3b1070
commit cb4185cb7c
2 changed files with 9 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
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> 2005-06-17 Joel Sherrill <joel@OARcorp.com>
* libchip/network/if_dc.c: Begin to convert to new PCI and IRQ * libchip/network/if_dc.c: Begin to convert to new PCI and IRQ

View File

@@ -17,7 +17,7 @@
#include <rdbg/rdbg.h> #include <rdbg/rdbg.h>
#include <rdbg/servrpc.h> #include <rdbg/servrpc.h>
int int
ExcepToSig (Exception_context * ctx) ExcepToSig (Exception_context * ctx)
{ {
int excep = getExcNum (ctx); int excep = getExcNum (ctx);
@@ -31,8 +31,11 @@ ExcepToSig (Exception_context * ctx)
case ASM_SYS_VECTOR: case ASM_SYS_VECTOR:
return SIGTRAP; return SIGTRAP;
/* At lest the MPC5xx series does not have this vector */
#if defined(ASM_ISI_VECTOR)
case ASM_ISI_VECTOR: case ASM_ISI_VECTOR:
return SIGSEGV; return SIGSEGV;
#endif
case ASM_RESET_VECTOR: case ASM_RESET_VECTOR:
case ASM_MACH_VECTOR: case ASM_MACH_VECTOR: