gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash/server ActionExec.cpp


From: Sandro Santilli
Subject: [Gnash-commit] gnash/server ActionExec.cpp
Date: Thu, 19 Oct 2006 12:11:12 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  06/10/19 12:11:12

Modified files:
        server         : ActionExec.cpp 

Log message:
        cleaner debug messages

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/server/ActionExec.cpp?cvsroot=gnash&r1=1.34&r2=1.35

Patches:
Index: ActionExec.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/ActionExec.cpp,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -b -r1.34 -r1.35
--- ActionExec.cpp      19 Oct 2006 11:16:27 -0000      1.34
+++ ActionExec.cpp      19 Oct 2006 12:11:12 -0000      1.35
@@ -34,7 +34,7 @@
 // forward this exception.
 //
 
-/* $Id: ActionExec.cpp,v 1.34 2006/10/19 11:16:27 strk Exp $ */
+/* $Id: ActionExec.cpp,v 1.35 2006/10/19 12:11:12 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -160,16 +160,14 @@
        while ( ! with_stack.empty() && pc >= with_stack.back().end_pc() )
        {
                // Drop last stack element
-               //with_stack.resize(with_stack.size() - 1);
                with_stack.pop_back();
-               log_msg("reached end of last with stack entry, popping");
        }
        
        // Get the opcode.
        uint8_t action_id = code[pc];
 
        IF_VERBOSE_ACTION (
-               log_action("\nEX:\t");
+               log_action("\nPC:%d - EX:\t", pc);
                code.log_disasm(pc);
        );
 
@@ -196,7 +194,7 @@
 
 #if DEBUG_STACK
        IF_VERBOSE_ACTION (
-               log_action( " PC is now " SIZET_FMT ".", pc);
+               log_action( " After execution, PC is " SIZET_FMT ".", pc);
                stringstream ss;
                env.dump_stack(ss);
                env.dump_global_registers(ss);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]