projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
418ddf4
)
X86: Fix for uninitialized variables in stacktrace code.
author
Gabe Black
<gblack@eecs.umich.edu>
Tue, 25 Sep 2007 21:44:12 +0000
(14:44 -0700)
committer
Gabe Black
<gblack@eecs.umich.edu>
Tue, 25 Sep 2007 21:44:12 +0000
(14:44 -0700)
--HG--
extra : convert_revision :
d19a03d8c14eb93a99f2c1838a9caa1286804c81
src/arch/x86/stacktrace.cc
patch
|
blob
|
history
diff --git
a/src/arch/x86/stacktrace.cc
b/src/arch/x86/stacktrace.cc
index bf7059dea716fedbcfff2c74622e8702811a2381..300e8dcd024e5a35179225b69549f123d638b996 100644
(file)
--- 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 ®, int &disp)
{
+ reg = 0;
+ disp = 0;
return true;
}