]> gitweb.factorcode.org Git - factor.git/commitdiff
vm: flush after print_obj so it's usable from gdb
authorJoe Groff <arcata@gmail.com>
Wed, 21 Dec 2011 21:25:28 +0000 (13:25 -0800)
committerJoe Groff <arcata@gmail.com>
Wed, 21 Dec 2011 21:25:28 +0000 (13:25 -0800)
vm/debug.cpp

index bd5ac6aec95e6c423692572725c0d49a58761a6b..50759076a9c57a5da3eb57925bc823bef4efd6b3 100755 (executable)
@@ -182,6 +182,7 @@ void factor_vm::print_nested_obj(cell obj, fixnum nesting)
                std::cout << (void*)obj << ">";
                break;
        }
+       std::cout << std::flush;
 }
 
 void factor_vm::print_obj(cell obj)