From 68b9bb5e9bc3dcd5ff33fe250184debd3cc3dff5 Mon Sep 17 00:00:00 2001 From: Dave Lee Date: Thu, 31 Jul 2025 13:10:04 -0700 Subject: [lldb] Add stop_description Python property to SBThread (#151568) Add `stop_description` as a Python convenience property to `SBThread`. --- .../functionalities/scripted_process/stack_core_scripted_process.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lldb/test/API/functionalities/scripted_process') diff --git a/lldb/test/API/functionalities/scripted_process/stack_core_scripted_process.py b/lldb/test/API/functionalities/scripted_process/stack_core_scripted_process.py index 736bb69..ee5ae32 100644 --- a/lldb/test/API/functionalities/scripted_process/stack_core_scripted_process.py +++ b/lldb/test/API/functionalities/scripted_process/stack_core_scripted_process.py @@ -204,9 +204,7 @@ class StackCoreScriptedThread(ScriptedThread): if self.is_stopped: if "arm64" in self.scripted_process.arch: stop_reason["type"] = lldb.eStopReasonException - stop_reason["data"][ - "desc" - ] = self.corefile_thread.GetStopDescription(100) + stop_reason["data"]["desc"] = self.corefile_thread.stop_description elif self.scripted_process.arch == "x86_64": stop_reason["type"] = lldb.eStopReasonSignal stop_reason["data"]["signal"] = signal.SIGTRAP -- cgit v1.1