From: Gabe Black Date: Wed, 8 Nov 2006 04:40:54 +0000 (-0500) Subject: Force remote gdb code to use signal numbers and not ISA specific trap numbers. X-Git-Tag: m5_2.0_beta2~53^2~19 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1a5d5d0b561591a5775d4b5a253360b7cea9076e;p=gem5.git Force remote gdb code to use signal numbers and not ISA specific trap numbers. --HG-- extra : convert_revision : 4f45a4b48e3993ac6991db2afffbce2e666eab6c --- 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 + #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