https://github.com/mchoo7 created https://github.com/llvm/llvm-project/pull/187981
`debugger.GetCommandInterpreter().IsInteractive()` doesn't necessarily mean that the debugger is running without `-b` or `--batch` flag. This caused an issue where the message isn't printed in any case. Remove the check so the message is always printed for now. Fixes: 9d9c7fc00bdddd72e78b19e9fbb6af9d07c2218b (#178027) >From 89ae94bbc894331484843ccf5d674c7dcb4145f0 Mon Sep 17 00:00:00 2001 From: Minsoo Choo <[email protected]> Date: Sun, 15 Mar 2026 17:04:30 -0400 Subject: [PATCH] [lldb][Process/FreeBSDKernelCore] Remove interactive mode check Signed-off-by: Minsoo Choo <[email protected]> --- .../Process/FreeBSD-Kernel-Core/ProcessFreeBSDKernelCore.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/lldb/source/Plugins/Process/FreeBSD-Kernel-Core/ProcessFreeBSDKernelCore.cpp b/lldb/source/Plugins/Process/FreeBSD-Kernel-Core/ProcessFreeBSDKernelCore.cpp index d1a4a1ebc47d7..da8e22caaa80f 100644 --- a/lldb/source/Plugins/Process/FreeBSD-Kernel-Core/ProcessFreeBSDKernelCore.cpp +++ b/lldb/source/Plugins/Process/FreeBSD-Kernel-Core/ProcessFreeBSDKernelCore.cpp @@ -394,9 +394,6 @@ void ProcessFreeBSDKernelCore::PrintUnreadMessage() { Target &target = GetTarget(); Debugger &debugger = target.GetDebugger(); - if (!debugger.GetCommandInterpreter().IsInteractive()) - return; - Status error; // Find msgbufp symbol (pointer to message buffer) _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
