summaryrefslogtreecommitdiffstats
path: root/c/src/librdbg/src/powerpc/excep_f.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2005-06-17 14:35:57 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2005-06-17 14:35:57 +0000
commitcb4185cb7c8761f178bc7637f8cdef269aa46898 (patch)
treebbd78ade740b6362e2349404c03f6c2ef91fcc81 /c/src/librdbg/src/powerpc/excep_f.c
parent2005-06-17 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-cb4185cb7c8761f178bc7637f8cdef269aa46898.tar.bz2
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.
Diffstat (limited to '')
-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: