[Lldb-commits] [lldb] [llvm] [lldb][Process/FreeBSDKernel] Print unread message buffer on start (PR #178027)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 19 03:32:46 PST 2026


================
@@ -287,6 +298,155 @@ lldb::addr_t ProcessFreeBSDKernel::FindSymbol(const char *name) {
   return sym ? sym->GetLoadAddress(&GetTarget()) : LLDB_INVALID_ADDRESS;
 }
 
+void ProcessFreeBSDKernel::PrintUnreadMessageBuffer() {
+  Target &target = GetTarget();
+  Debugger &debugger = target.GetDebugger();
+
+  if (!debugger.GetCommandInterpreter().IsInteractive())
----------------
DavidSpickett wrote:

How does this behave and does it match the claim in the PR description?

> Crash info isn't printed in batch mode.

Also please add the name of the tool that you're matching the behaviour of in that case.

https://github.com/llvm/llvm-project/pull/178027


More information about the lldb-commits mailing list