aboutsummaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2023-11-29 10:52:04 -0500
committerPeter Zhu <peter@peterzhu.ca>2023-11-29 17:54:58 -0500
commitaee275165b35c75f7ba889752273844616a9c8f5 (patch)
tree39e5ba5a4ea4e8eed10d29fb75d29c9bfe71581e /tool
parent2927c280950924c0aaa6c1a5805b2978b177809e (diff)
downloadruby-aee275165b35c75f7ba889752273844616a9c8f5.tar.gz
debugger can never be nil
Diffstat (limited to 'tool')
-rwxr-xr-xtool/runruby.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/runruby.rb b/tool/runruby.rb
index c6724f53d3..4cd97ce99c 100755
--- a/tool/runruby.rb
+++ b/tool/runruby.rb
@@ -142,7 +142,7 @@ ENV.update env
if debugger
case debugger
- when :gdb, nil
+ when :gdb
debugger = %W'gdb -x #{srcdir}/.gdbinit'
if File.exist?(gdb = 'run.gdb') or
File.exist?(gdb = File.join(abs_archdir, 'run.gdb'))