Skip to content

Commit d0f5df1

Browse files
authored
[lldb][Process/FreeBSDKernelCore] Remove interactive mode check (llvm#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: 9d9c7fc (llvm#178027) Signed-off-by: Minsoo Choo <minsoochoo0122@proton.me>
1 parent 26fcbd5 commit d0f5df1

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

lldb/source/Plugins/Process/FreeBSD-Kernel-Core/ProcessFreeBSDKernelCore.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -394,9 +394,6 @@ void ProcessFreeBSDKernelCore::PrintUnreadMessage() {
394394
Target &target = GetTarget();
395395
Debugger &debugger = target.GetDebugger();
396396

397-
if (!debugger.GetCommandInterpreter().IsInteractive())
398-
return;
399-
400397
Status error;
401398

402399
// Find msgbufp symbol (pointer to message buffer)

0 commit comments

Comments
 (0)