1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Revert "Add a temporal stack dumper for debugging on trunk-mjit"

This reverts commit 433c9c00d9.

Successfully captured some traces, and
3b60e5e6bc seems to fix the issue.
This commit is contained in:
Yusuke Endoh 2019-09-06 13:04:36 +09:00
parent 3b60e5e6bc
commit 41b7c335d3

View file

@ -149,9 +149,6 @@ module EnvUtil
if (!th_stdout || th_stdout.join(timeout)) && (!th_stderr || th_stderr.join(timeout)) if (!th_stdout || th_stdout.join(timeout)) && (!th_stderr || th_stderr.join(timeout))
timeout_error = nil timeout_error = nil
else 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) status = terminate(pid, signal, opt[:pgroup], reprieve)
terminated = Time.now terminated = Time.now
end end