summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/x86/stacktrace.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/arch/x86/stacktrace.cc b/src/arch/x86/stacktrace.cc
index bf7059dea..300e8dcd0 100644
--- a/src/arch/x86/stacktrace.cc
+++ b/src/arch/x86/stacktrace.cc
@@ -154,12 +154,15 @@ namespace X86ISA
bool
StackTrace::decodeStack(MachInst inst, int &disp)
{
+ disp = 0;
return true;
}
bool
StackTrace::decodeSave(MachInst inst, int &reg, int &disp)
{
+ reg = 0;
+ disp = 0;
return true;
}