================ @@ -194,11 +194,12 @@ void ProcessGDBRemote::Terminate() { PluginManager::UnregisterPlugin(ProcessGDBRemote::CreateInstance); } -lldb::ProcessSP ProcessGDBRemote::CreateInstance( - lldb::TargetSP target_sp, ListenerSP listener_sp, - const FileSpec *crash_file_path, bool can_connect) { +lldb::ProcessSP ProcessGDBRemote::CreateInstance(lldb::TargetSP target_sp, + ListenerSP listener_sp, + lldb::FileSP crash_file_sp, + bool can_connect) { lldb::ProcessSP process_sp; - if (crash_file_path == nullptr) + if (crash_file_sp) ---------------- clayborg wrote:
The logic is inverted from what it used to be, this should be: ``` if (!crash_file_sp) ``` https://github.com/llvm/llvm-project/pull/71769 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits