[前][次][番号順一覧][スレッド一覧]

ruby-changes:57596

From: Yusuke <ko1@a...>
Date: Fri, 6 Sep 2019 13:05:44 +0900 (JST)
Subject: [ruby-changes:57596] 41b7c335d3 (master): Revert "Add a temporal stack dumper for debugging on trunk-mjit"

https://git.ruby-lang.org/ruby.git/commit/?id=41b7c335d3

From 41b7c335d3ede90e7bc1b469de242df392dc6adc Mon Sep 17 00:00:00 2001
From: Yusuke Endoh <mame@r...>
Date: Fri, 6 Sep 2019 13:04:36 +0900
Subject: Revert "Add a temporal stack dumper for debugging on trunk-mjit"

This reverts commit 433c9c00d96124e3b416d0a20ff795b0ad4273fa.

Successfully captured some traces, and
3b60e5e6bc2c84b971bea9c8312eb5d33ada2ff5 seems to fix the issue.

diff --git a/tool/lib/envutil.rb b/tool/lib/envutil.rb
index 2b94383..2faf483 100644
--- a/tool/lib/envutil.rb
+++ b/tool/lib/envutil.rb
@@ -149,9 +149,6 @@ module EnvUtil https://github.com/ruby/ruby/blob/trunk/tool/lib/envutil.rb#L149
       if (!th_stdout || th_stdout.join(timeout)) && (!th_stderr || th_stderr.join(timeout))
         timeout_error = nil
       else
-        if File.exist?("/home/ko1/ruby/build-ruby/gdbscript")
-          system("gdb", "-p", pid.to_s, "-x", "/home/ko1/ruby/build-ruby/gdbscript", "-batch", "-quiet")
-        end
         status = terminate(pid, signal, opt[:pgroup], reprieve)
         terminated = Time.now
       end
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]