Lines Matching refs:m_opaque_sp
134 log->Printf ("SBDebugger(%p)::Clear ()", m_opaque_sp.get());
136 if (m_opaque_sp)
137 m_opaque_sp->ClearIOHandlers ();
139 m_opaque_sp.reset();
167 log->Printf ("SBDebugger::Create () => SBDebugger(%p): %s", debugger.m_opaque_sp.get(), sstr.GetData());
195 log->Printf ("SBDebugger::Destroy () => SBDebugger(%p): %s", debugger.m_opaque_sp.get(), sstr.GetData());
198 Debugger::Destroy (debugger.m_opaque_sp);
200 if (debugger.m_opaque_sp.get() != NULL)
201 debugger.m_opaque_sp.reset();
223 m_opaque_sp ()
228 m_opaque_sp(debugger_sp)
233 m_opaque_sp (rhs.m_opaque_sp)
242 m_opaque_sp = rhs.m_opaque_sp;
254 return m_opaque_sp.get() != NULL;
261 if (m_opaque_sp)
262 m_opaque_sp->SetAsyncExecution(b);
268 if (m_opaque_sp)
269 return m_opaque_sp->GetAsyncExecution();
277 if (m_opaque_sp)
278 m_opaque_sp->GetCommandInterpreter().SkipLLDBInitFiles (b);
284 if (m_opaque_sp)
285 m_opaque_sp->GetCommandInterpreter().SkipAppInitFiles (b);
296 log->Printf ("SBDebugger(%p)::SetInputFileHandle (fh=%p, transfer_ownership=%i)", m_opaque_sp.get(),
299 if (m_opaque_sp)
300 m_opaque_sp->SetInputFileHandle (fh, transfer_ownership);
310 log->Printf ("SBDebugger(%p)::SetOutputFileHandle (fh=%p, transfer_ownership=%i)", m_opaque_sp.get(),
313 if (m_opaque_sp)
314 m_opaque_sp->SetOutputFileHandle (fh, transfer_ownership);
324 log->Printf ("SBDebugger(%p)::SetErrorFileHandle (fh=%p, transfer_ownership=%i)", m_opaque_sp.get(),
327 if (m_opaque_sp)
328 m_opaque_sp->SetErrorFileHandle (fh, transfer_ownership);
334 if (m_opaque_sp)
336 StreamFileSP stream_file_sp (m_opaque_sp->GetInputFile());
346 if (m_opaque_sp)
348 StreamFileSP stream_file_sp (m_opaque_sp->GetOutputFile());
358 if (m_opaque_sp)
359 if (m_opaque_sp)
361 StreamFileSP stream_file_sp (m_opaque_sp->GetErrorFile());
371 if (m_opaque_sp)
372 m_opaque_sp->SaveInputTerminalState();
378 if (m_opaque_sp)
379 m_opaque_sp->RestoreInputTerminalState();
388 if (m_opaque_sp)
389 sb_interpreter.reset (&m_opaque_sp->GetCommandInterpreter());
393 m_opaque_sp.get(), sb_interpreter.get());
401 if (m_opaque_sp)
403 TargetSP target_sp (m_opaque_sp->GetSelectedTarget());
418 if (m_opaque_sp->GetAsyncExecution() == false)
425 Listener &lldb_listener = m_opaque_sp->GetListener();
442 if (m_opaque_sp)
443 sb_listener.reset(&m_opaque_sp->GetListener(), false);
446 log->Printf ("SBDebugger(%p)::GetListener () => SBListener(%p)", m_opaque_sp.get(),
599 if (m_opaque_sp)
605 sb_error.ref() = m_opaque_sp->GetTargetList().CreateTarget (*m_opaque_sp,
624 m_opaque_sp.get(),
642 if (m_opaque_sp)
645 Error error (m_opaque_sp->GetTargetList().CreateTarget (*m_opaque_sp,
658 m_opaque_sp.get(), filename, target_triple, target_sp.get());
671 if (m_opaque_sp)
676 error = m_opaque_sp->GetTargetList().CreateTarget (*m_opaque_sp,
685 m_opaque_sp->GetTargetList().SetSelectedTarget (target_sp.get());
693 m_opaque_sp.get(), filename, arch_cstr, target_sp.get());
704 if (m_opaque_sp)
710 PlatformSP platform_sp(m_opaque_sp->GetPlatformList().GetSelectedPlatform());
711 error = m_opaque_sp->GetTargetList().CreateTarget (*m_opaque_sp,
720 m_opaque_sp->GetTargetList().SetSelectedTarget (target_sp.get());
728 m_opaque_sp.get(), filename, target_sp.get());
737 if (m_opaque_sp)
743 result = m_opaque_sp->GetTargetList().DeleteTarget (target_sp);
754 log->Printf ("SBDebugger(%p)::DeleteTarget (SBTarget(%p)) => %i", m_opaque_sp.get(), target.m_opaque_sp.get(), result);
763 if (m_opaque_sp)
766 sb_target.SetSP (m_opaque_sp->GetTargetList().GetTargetAtIndex (idx));
779 if (!m_opaque_sp)
782 return m_opaque_sp->GetTargetList().GetIndexOfTarget (target.GetSP());
789 if (m_opaque_sp)
792 sb_target.SetSP (m_opaque_sp->GetTargetList().FindTargetWithProcessID (pid));
801 if (m_opaque_sp && filename && filename[0])
804 ArchSpec arch (arch_name, m_opaque_sp->GetPlatformList().GetSelectedPlatform().get());
805 TargetSP target_sp (m_opaque_sp->GetTargetList().FindTargetWithExecutableAndArchitecture (FileSpec(filename, false), arch_name ? &arch : NULL));
815 if (m_opaque_sp)
818 sb_target.SetSP (m_opaque_sp->GetTargetList().FindTargetWithProcess (process_sp.get()));
827 if (m_opaque_sp)
830 return m_opaque_sp->GetTargetList().GetNumTargets ();
842 if (m_opaque_sp)
845 target_sp = m_opaque_sp->GetTargetList().GetSelectedTarget ();
853 log->Printf ("SBDebugger(%p)::GetSelectedTarget () => SBTarget(%p): %s", m_opaque_sp.get(),
866 if (m_opaque_sp)
868 m_opaque_sp->GetTargetList().SetSelectedTarget (target_sp.get());
874 log->Printf ("SBDebugger(%p)::SetSelectedTarget () => SBTarget(%p): %s", m_opaque_sp.get(),
885 DebuggerSP debugger_sp(m_opaque_sp);
892 log->Printf ("SBDebugger(%p)::GetSelectedPlatform () => SBPlatform(%p): %s", m_opaque_sp.get(),
903 DebuggerSP debugger_sp(m_opaque_sp);
910 log->Printf ("SBDebugger(%p)::SetSelectedPlatform (SBPlatform(%p) %s)", m_opaque_sp.get(),
928 // m_opaque_sp.get(),
933 // if (m_opaque_sp)
934 // m_opaque_sp->DispatchInput ((const char *) data, data_len);
940 if (m_opaque_sp)
941 m_opaque_sp->DispatchInputInterrupt ();
947 if (m_opaque_sp)
948 m_opaque_sp->DispatchInputEndOfFile ();
960 if (m_opaque_sp)
961 m_opaque_sp->GetCommandInterpreter().RunCommandInterpreter(auto_handle_events, spawn_thread);
967 m_opaque_sp = debugger_sp;
973 return m_opaque_sp.get();
979 assert (m_opaque_sp.get());
980 return *m_opaque_sp;
986 return m_opaque_sp;
1003 if (m_opaque_sp)
1004 return m_opaque_sp->GetInstanceName().AsCString();
1064 if (m_opaque_sp)
1065 return m_opaque_sp->GetTerminalWidth ();
1072 if (m_opaque_sp)
1073 m_opaque_sp->SetTerminalWidth (term_width);
1082 log->Printf ("SBDebugger(%p)::GetPrompt () => \"%s\"", m_opaque_sp.get(),
1083 (m_opaque_sp ? m_opaque_sp->GetPrompt() : ""));
1085 if (m_opaque_sp)
1086 return m_opaque_sp->GetPrompt ();
1093 if (m_opaque_sp)
1094 m_opaque_sp->SetPrompt (prompt);
1101 if (m_opaque_sp)
1102 return m_opaque_sp->GetScriptLanguage ();
1109 if (m_opaque_sp)
1111 m_opaque_sp->SetScriptLanguage (script_lang);
1118 if (m_opaque_sp)
1119 return m_opaque_sp->SetUseExternalEditor (value);
1126 if (m_opaque_sp)
1127 return m_opaque_sp->GetUseExternalEditor ();
1134 if (m_opaque_sp)
1135 return m_opaque_sp->SetUseColor (value);
1142 if (m_opaque_sp)
1143 return m_opaque_sp->GetUseColor ();
1152 if (m_opaque_sp)
1154 const char *name = m_opaque_sp->GetInstanceName().AsCString();
1155 user_id_t id = m_opaque_sp->GetID();
1167 if (m_opaque_sp)
1168 return m_opaque_sp->GetID();
1177 if (m_opaque_sp)
1184 m_opaque_sp->GetPlatformList().Append (platform_sp, make_selected);
1193 if (m_opaque_sp)
1195 PlatformSP platform_sp (m_opaque_sp->GetPlatformList().GetSelectedPlatform());
1209 if (m_opaque_sp)
1210 return m_opaque_sp->GetCloseInputOnEOF ();
1217 if (m_opaque_sp)
1218 m_opaque_sp->SetCloseInputOnEOF (b);
1316 if (m_opaque_sp)
1320 return m_opaque_sp->EnableLog (channel, categories, NULL, log_options, errors);
1330 if (m_opaque_sp)
1332 return m_opaque_sp->SetLoggingCallback (log_callback, baton);