summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorVincentius Robby <acolyte@umich.edu>2007-06-14 16:52:19 -0400
committerVincentius Robby <acolyte@umich.edu>2007-06-14 16:52:19 -0400
commit5b5570e0bf78faec2ed253c9348639d3ae15e2ef (patch)
treeb884555f6affc655aea65225c541e01331303498 /src/arch
parent6641423a0b3b906a6fd943296d3c9ebbc3918374 (diff)
downloadgem5-5b5570e0bf78faec2ed253c9348639d3ae15e2ef.tar.xz
Modified instruction decode method.
Make code compatible with new decode method. src/arch/alpha/remote_gdb.cc: src/cpu/base_dyn_inst_impl.hh: src/cpu/exetrace.cc: src/cpu/simple/base.cc: Make code compatible with new decode method. src/cpu/static_inst.cc: src/cpu/static_inst.hh: Modified instruction decode method. --HG-- extra : convert_revision : a9a6d3a16fff59bc95d0606ea344bd57e71b8d0a
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/alpha/remote_gdb.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/alpha/remote_gdb.cc b/src/arch/alpha/remote_gdb.cc
index a68e5218e..ea5db36f4 100644
--- a/src/arch/alpha/remote_gdb.cc
+++ b/src/arch/alpha/remote_gdb.cc
@@ -284,7 +284,7 @@ RemoteGDB::setSingleStep()
// User was stopped at pc, e.g. the instruction at pc was not
// executed.
MachInst inst = read<MachInst>(pc);
- StaticInstPtr si(inst);
+ StaticInstPtr si(inst, pc);
if (si->hasBranchTarget(pc, context, bpc)) {
// Don't bother setting a breakpoint on the taken branch if it
// is the same as the next pc