diff --git a/third_party/mozdebug/mozdebug/mozdebug.py b/third_party/mozdebug/mozdebug/mozdebug.py index 4cb18ccca6d..51af36c78fa 100644 --- a/third_party/mozdebug/mozdebug/mozdebug.py +++ b/third_party/mozdebug/mozdebug/mozdebug.py @@ -36,6 +36,7 @@ _DEBUGGER_INFO = { "cgdb": {"interactive": True, "args": ["-q", "--args"]}, "rust-gdb": {"interactive": True, "args": ["-q", "--args"]}, "lldb": {"interactive": True, "args": ["--"], "requiresEscapedArgs": True}, + "rust-lldb": {"interactive": True, "args": ["--"], "requiresEscapedArgs": True}, # Visual Studio Debugger Support. "devenv.exe": {"interactive": True, "args": ["-debugexe"]}, # Visual C++ Express Debugger Support. diff --git a/third_party/mozdebug/patches/0001-Add_rust-lldb_debugger.patch b/third_party/mozdebug/patches/0001-Add_rust-lldb_debugger.patch new file mode 100644 index 00000000000..bf30daef4c4 --- /dev/null +++ b/third_party/mozdebug/patches/0001-Add_rust-lldb_debugger.patch @@ -0,0 +1,12 @@ +diff --git a/mozdebug/mozdebug.py b/mozdebug/mozdebug.py +index 4cb18ccca6dd..51af36c78fa2 100644 +--- a/mozdebug/mozdebug.py ++++ b/mozdebug/mozdebug.py +@@ -36,6 +36,7 @@ + "cgdb": {"interactive": True, "args": ["-q", "--args"]}, + "rust-gdb": {"interactive": True, "args": ["-q", "--args"]}, + "lldb": {"interactive": True, "args": ["--"], "requiresEscapedArgs": True}, ++ "rust-lldb": {"interactive": True, "args": ["--"], "requiresEscapedArgs": True}, + # Visual Studio Debugger Support. + "devenv.exe": {"interactive": True, "args": ["-debugexe"]}, + # Visual C++ Express Debugger Support.