summaryrefslogtreecommitdiff
path: root/src/arch/alpha/system.cc
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2006-11-07 23:40:54 -0500
committerGabe Black <gblack@eecs.umich.edu>2006-11-07 23:40:54 -0500
commit1a5d5d0b561591a5775d4b5a253360b7cea9076e (patch)
tree98c3a0e5e2e7fcb8f9626cc122430688561c5236 /src/arch/alpha/system.cc
parent90408b7d029b94eae03121d913777f616ac1ce77 (diff)
downloadgem5-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/arch/alpha/system.cc')
-rw-r--r--src/arch/alpha/system.cc4
1 files changed, 3 insertions, 1 deletions
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