diff options
author | Mike McLaughlin <mikem@microsoft.com> | 2019-06-20 14:08:55 -0700 |
---|---|---|
committer | Jan Vorlicek <janvorli@microsoft.com> | 2019-06-20 23:08:55 +0200 |
commit | 6b9a3d3a87825b1a34bd8f114c9b181ce75b3b2e (patch) | |
tree | 5a7abae1508a7b0aaf70926c1618c8d4e682a9f5 /src/ToolBox/SOS/tests/t_cmd_bpmd_module_function_iloffset.py | |
parent | ec2a74e7649f1c0ecff32ce86724bf3ca80bfd46 (diff) | |
download | coreclr-6b9a3d3a87825b1a34bd8f114c9b181ce75b3b2e.tar.gz coreclr-6b9a3d3a87825b1a34bd8f114c9b181ce75b3b2e.tar.bz2 coreclr-6b9a3d3a87825b1a34bd8f114c9b181ce75b3b2e.zip |
Remove SOS and lldb plugin (#25220)
* Remove SOS and lldb plugin
Issue: https://github.com/dotnet/coreclr/issues/24092
Diffstat (limited to 'src/ToolBox/SOS/tests/t_cmd_bpmd_module_function_iloffset.py')
-rw-r--r-- | src/ToolBox/SOS/tests/t_cmd_bpmd_module_function_iloffset.py | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/src/ToolBox/SOS/tests/t_cmd_bpmd_module_function_iloffset.py b/src/ToolBox/SOS/tests/t_cmd_bpmd_module_function_iloffset.py deleted file mode 100644 index 1c4441f790..0000000000 --- a/src/ToolBox/SOS/tests/t_cmd_bpmd_module_function_iloffset.py +++ /dev/null @@ -1,47 +0,0 @@ -# Licensed to the .NET Foundation under one or more agreements. -# The .NET Foundation licenses this file to you under the MIT license. -# See the LICENSE file in the project root for more information. - -import lldb -import re -import testutils as test - -# bpmd <module name> <managed function name> [<il offset>] - - -def runScenario(assembly, debugger, target): - process = target.GetProcess() - res = lldb.SBCommandReturnObject() - ci = debugger.GetCommandInterpreter() - - # Run debugger, wait until libcoreclr is loaded, - # set breakpoint at Test.Main and stop there - test.stop_in_main(debugger, assembly) - - ci.HandleCommand("bpmd " + assembly + " Test.UnlikelyInlined 66", res) - out_msg = res.GetOutput() - err_msg = res.GetError() - print(out_msg) - print(err_msg) - # Interpreter must have this command and able to run it - test.assertTrue(res.Succeeded()) - - # Output is not empty - # Should be at least 'Adding pending breakpoints...' - test.assertTrue(len(out_msg) > 0) - - # Error message is empty - test.assertTrue(len(err_msg) == 0) - - process.Continue() - # Process must be stopped at UnlinkelyInlined - test.assertEqual(process.GetState(), lldb.eStateStopped) - - # The reason of this stop must be a breakpoint - test.assertEqual(process.GetSelectedThread().GetStopReason(), - lldb.eStopReasonBreakpoint) - - # - - # Delete all breakpoints, continue current process and checks its exit code - test.exit_lldb(debugger, assembly) |