A fix for SPARC_FS compilation.
authorGabe Black <gblack@eecs.umich.edu>
Thu, 14 Jun 2007 13:27:08 +0000 (13:27 +0000)
committerGabe Black <gblack@eecs.umich.edu>
Thu, 14 Jun 2007 13:27:08 +0000 (13:27 +0000)
--HG--
extra : convert_revision : 8af0dd9c16e7db8ed92f7a71c396841d5ae7e072

src/cpu/exetrace.cc

index 75792fa8cb1dadfba8dd5f04c706045bb51f4932..98b8c247ccf82dd61c86d08ef18443f5c2ad9704 100644 (file)
@@ -650,7 +650,8 @@ Trace::InstRecord::dump()
                              << endl;
 
                         predecoder.setTC(thread);
-                        predecoder.moreBytes(m5Pc, 0, shared_data->instruction);
+                        predecoder.moreBytes(m5Pc, m5Pc, 0,
+                                shared_data->instruction);
 
                         assert(predecoder.extMachInstReady());