diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2006-11-07 23:40:54 -0500 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2006-11-07 23:40:54 -0500 |
commit | 1a5d5d0b561591a5775d4b5a253360b7cea9076e (patch) | |
tree | 98c3a0e5e2e7fcb8f9626cc122430688561c5236 /src | |
parent | 90408b7d029b94eae03121d913777f616ac1ce77 (diff) | |
download | gem5-1a5d5d0b561591a5775d4b5a253360b7cea9076e.tar.xz |
Force remote gdb code to use signal numbers and not ISA specific trap numbers.
--HG--
extra : convert_revision : 4f45a4b48e3993ac6991db2afffbce2e666eab6c
Diffstat (limited to 'src')
-rw-r--r-- | src/arch/alpha/kgdb.h | 11 | ||||
-rw-r--r-- | src/arch/alpha/system.cc | 4 |
2 files changed, 3 insertions, 12 deletions
diff --git a/src/arch/alpha/kgdb.h b/src/arch/alpha/kgdb.h index 104244d0b..912cf6d45 100644 --- a/src/arch/alpha/kgdb.h +++ b/src/arch/alpha/kgdb.h @@ -160,15 +160,4 @@ /* Too much? Must be large enough for register transfer. */ #define KGDB_BUFLEN 1024 -/* - * Kernel Entry Vectors. [OSF/1 PALcode Specific] - */ - -#define ALPHA_KENTRY_INT 0 -#define ALPHA_KENTRY_ARITH 1 -#define ALPHA_KENTRY_MM 2 -#define ALPHA_KENTRY_IF 3 -#define ALPHA_KENTRY_UNA 4 -#define ALPHA_KENTRY_SYS 5 - #endif /* __KGDB_H__ */ diff --git a/src/arch/alpha/system.cc b/src/arch/alpha/system.cc index 710f6ef46..cd923948c 100644 --- a/src/arch/alpha/system.cc +++ b/src/arch/alpha/system.cc @@ -29,6 +29,8 @@ * Nathan Binkert */ +#include <sys/signal.h> + #include "arch/alpha/ev5.hh" #include "arch/alpha/system.hh" #include "arch/alpha/remote_gdb.hh" @@ -196,7 +198,7 @@ AlphaSystem::setAlphaAccess(Addr access) bool AlphaSystem::breakpoint() { - return remoteGDB[0]->trap(ALPHA_KENTRY_INT); + return remoteGDB[0]->trap(SIGTRAP); } void |