summaryrefslogtreecommitdiff
path: root/misc/lldb_cruby.py
diff options
context:
space:
mode:
authorMatt Valentine-House <matt@eightbitraptor.com>2022-08-18 11:44:25 +0100
committerPeter Zhu <peter@peterzhu.ca>2022-08-18 13:25:32 -0400
commit92603bbd6996000d2541edb22e0b2ecac646c3de (patch)
treeb7135b571f44fd8dd62e90005d559e635d6dbf29 /misc/lldb_cruby.py
parentb26aec9daa03a4f3da225e9e4f7a43e916928712 (diff)
downloadruby-92603bbd6996000d2541edb22e0b2ecac646c3de.tar.gz
[ci skip][Feature #18910][lldb] Dedup lldb_init
by moving it fully into RbBaseCommand
Diffstat (limited to 'misc/lldb_cruby.py')
-rwxr-xr-xmisc/lldb_cruby.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/misc/lldb_cruby.py b/misc/lldb_cruby.py
index e30acffc40..595d54dfab 100755
--- a/misc/lldb_cruby.py
+++ b/misc/lldb_cruby.py
@@ -741,5 +741,7 @@ def __lldb_init_module(debugger, internal_dict):
debugger.HandleCommand("command script add -f lldb_cruby.dump_page dump_page")
debugger.HandleCommand("command script add -f lldb_cruby.dump_page_rvalue dump_page_rvalue")
debugger.HandleCommand("command script add -f lldb_cruby.rb_id2str rb_id2str")
- lldb_init(debugger)
+
+ lldb_rb.rb_base_command.RbBaseCommand.lldb_init(debugger)
+
print("lldb scripts for ruby has been installed.")