]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix startup stuff a bit.
authorJulian Seward <jseward@acm.org>
Sun, 25 Jul 2004 23:37:53 +0000 (23:37 +0000)
committerJulian Seward <jseward@acm.org>
Sun, 25 Jul 2004 23:37:53 +0000 (23:37 +0000)
git-svn-id: svn://svn.valgrind.org/vex/trunk@125

VEX/hacked104/vg_main.c

index 0a4925af6aa5bb132e20e5deaf1cdc72acdd8a11..972bab37609872c61c88cd2ff7282814c73d055a 100644 (file)
@@ -579,7 +579,7 @@ static void process_cmd_line_options ( void )
    VG_(clo_n_suppressions)   = 0;
    VG_(clo_single_step)      = False;
    VG_(clo_optimise)         = True;
-   VG_(clo_instrument)       = True;
+   VG_(clo_instrument)       = False; //True;
    VG_(clo_cachesim)         = False;
    VG_(clo_I1_cache)         = UNDEFINED_CACHE;
    VG_(clo_D1_cache)         = UNDEFINED_CACHE;
@@ -1048,9 +1048,8 @@ void VG_(copy_m_state_static_to_baseBlock) ( void )
    VG_(baseBlock)[VGOFF_(m_esi)] = VG_(m_state_static)[24/4];
    VG_(baseBlock)[VGOFF_(m_edi)] = VG_(m_state_static)[28/4];
 
-   //   VG_(baseBlock)[VGOFF_(m_eflags)] = VG_(m_state_static)[32/4];
    VG_(baseBlock)[VGOFF_(m_cc_op)]    = 0; // CC_OP_COPY
-   VG_(baseBlock)[VGOFF_(m_cc_src)]   = 0;
+   VG_(baseBlock)[VGOFF_(m_cc_src)]   = VG_(m_state_static)[32/4];
    VG_(baseBlock)[VGOFF_(m_cc_dst)]   = 0;
    VG_(baseBlock)[VGOFF_(m_cc_dflag)] = 1;