From d71b5394ac82943a7313d01d8880bb022f4d2871 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 6 Dec 2016 13:57:23 +0000 Subject: [PATCH] Make `trace_running` an integer flag again MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * vm_core.h (rb_vm_struct): trace_running should be a counter but not a bit flag. [ruby-core:78514] [Bug #13011] Author: David Rodríguez git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm_core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm_core.h b/vm_core.h index 93b1152aea..5191c7d466 100644 --- a/vm_core.h +++ b/vm_core.h @@ -497,7 +497,7 @@ typedef struct rb_vm_struct { unsigned int running: 1; unsigned int thread_abort_on_exception: 1; unsigned int thread_report_on_exception: 1; - unsigned int trace_running: 1; + int trace_running; volatile int sleeper; /* object management */