diff options
author | Matt Valentine-House <matt@eightbitraptor.com> | 2022-07-13 18:14:44 +0100 |
---|---|---|
committer | Peter Zhu <peter@peterzhu.ca> | 2022-08-18 13:25:32 -0400 |
commit | b26aec9daa03a4f3da225e9e4f7a43e916928712 (patch) | |
tree | b2002f074b354f743f701b28d3c080d2ec70f5f8 /misc/lldb_cruby.py | |
parent | a4ef2f16728b4b1eb49cc3aded26219cabdfa7e7 (diff) | |
download | ruby-b26aec9daa03a4f3da225e9e4f7a43e916928712.tar.gz |
[ci-skip][Feature #18910][lldb] New directory structure
Push the newly refactored lldb files into a sub-directory so that we're
not cluttering up the misc directory
Diffstat (limited to 'misc/lldb_cruby.py')
-rwxr-xr-x | misc/lldb_cruby.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/lldb_cruby.py b/misc/lldb_cruby.py index 6655d768ae..e30acffc40 100755 --- a/misc/lldb_cruby.py +++ b/misc/lldb_cruby.py @@ -15,7 +15,7 @@ import shlex import platform import glob -from constants import * +from lldb_rb.constants import * # BEGIN FUNCTION STYLE DECLS # This will be refactored to use class style decls in the misc/commands dir @@ -716,11 +716,11 @@ def rb_id2str(debugger, command, result, internal_dict): load_dir, _ = os.path.split(os.path.realpath(__file__)) -for fname in glob.glob(f"{load_dir}/commands/*_command.py"): +for fname in glob.glob(f"{load_dir}/lldb_rb/commands/*_command.py"): _, basename = os.path.split(fname) mname, _ = os.path.splitext(basename) - exec(f"import commands.{mname}") + exec(f"import lldb_rb.commands.{mname}") def __lldb_init_module(debugger, internal_dict): # Register all classes that subclass RbBaseCommand |