Lines Matching refs:m_opaque_sp
75 log->Printf ("SBDebugger(%p)::Clear ()", m_opaque_sp.get());
77 if (m_opaque_sp)
78 m_opaque_sp->CleanUpInputReaders ();
80 m_opaque_sp.reset();
108 log->Printf ("SBDebugger::Create () => SBDebugger(%p): %s", debugger.m_opaque_sp.get(), sstr.GetData());
136 log->Printf ("SBDebugger::Destroy () => SBDebugger(%p): %s", debugger.m_opaque_sp.get(), sstr.GetData());
139 Debugger::Destroy (debugger.m_opaque_sp);
141 if (debugger.m_opaque_sp.get() != NULL)
142 debugger.m_opaque_sp.reset();
164 m_opaque_sp ()
169 m_opaque_sp(debugger_sp)
174 m_opaque_sp (rhs.m_opaque_sp)
183 m_opaque_sp = rhs.m_opaque_sp;
195 return m_opaque_sp.get() != NULL;
202 if (m_opaque_sp)
203 m_opaque_sp->SetAsyncExecution(b);
209 if (m_opaque_sp)
210 return m_opaque_sp->GetAsyncExecution();
218 if (m_opaque_sp)
219 m_opaque_sp->GetCommandInterpreter().SkipLLDBInitFiles (b);
225 if (m_opaque_sp)
226 m_opaque_sp->GetCommandInterpreter().SkipAppInitFiles (b);
237 log->Printf ("SBDebugger(%p)::SetInputFileHandle (fh=%p, transfer_ownership=%i)", m_opaque_sp.get(),
240 if (m_opaque_sp)
241 m_opaque_sp->SetInputFileHandle (fh, transfer_ownership);
251 log->Printf ("SBDebugger(%p)::SetOutputFileHandle (fh=%p, transfer_ownership=%i)", m_opaque_sp.get(),
254 if (m_opaque_sp)
255 m_opaque_sp->SetOutputFileHandle (fh, transfer_ownership);
265 log->Printf ("SBDebugger(%p)::SetErrorFileHandle (fh=%p, transfer_ownership=%i)", m_opaque_sp.get(),
268 if (m_opaque_sp)
269 m_opaque_sp->SetErrorFileHandle (fh, transfer_ownership);
275 if (m_opaque_sp)
276 return m_opaque_sp->GetInputFile().GetStream();
283 if (m_opaque_sp)
284 return m_opaque_sp->GetOutputFile().GetStream();
291 if (m_opaque_sp)
292 return m_opaque_sp->GetErrorFile().GetStream();
299 if (m_opaque_sp)
300 m_opaque_sp->SaveInputTerminalState();
306 if (m_opaque_sp)
307 m_opaque_sp->RestoreInputTerminalState();
316 if (m_opaque_sp)
317 sb_interpreter.reset (&m_opaque_sp->GetCommandInterpreter());
321 m_opaque_sp.get(), sb_interpreter.get());
329 if (m_opaque_sp)
331 TargetSP target_sp (m_opaque_sp->GetSelectedTarget());
346 if (m_opaque_sp->GetAsyncExecution() == false)
353 Listener &lldb_listener = m_opaque_sp->GetListener();
370 if (m_opaque_sp)
371 sb_listener.reset(&m_opaque_sp->GetListener(), false);
374 log->Printf ("SBDebugger(%p)::GetListener () => SBListener(%p)", m_opaque_sp.get(),
527 if (m_opaque_sp)
533 sb_error.ref() = m_opaque_sp->GetTargetList().CreateTarget (*m_opaque_sp,
552 m_opaque_sp.get(),
570 if (m_opaque_sp)
573 Error error (m_opaque_sp->GetTargetList().CreateTarget (*m_opaque_sp,
586 m_opaque_sp.get(), filename, target_triple, target_sp.get());
599 if (m_opaque_sp)
604 error = m_opaque_sp->GetTargetList().CreateTarget (*m_opaque_sp,
613 m_opaque_sp->GetTargetList().SetSelectedTarget (target_sp.get());
621 m_opaque_sp.get(), filename, arch_cstr, target_sp.get());
632 if (m_opaque_sp)
638 PlatformSP platform_sp(m_opaque_sp->GetPlatformList().GetSelectedPlatform());
639 error = m_opaque_sp->GetTargetList().CreateTarget (*m_opaque_sp,
648 m_opaque_sp->GetTargetList().SetSelectedTarget (target_sp.get());
656 m_opaque_sp.get(), filename, target_sp.get());
665 if (m_opaque_sp)
671 result = m_opaque_sp->GetTargetList().DeleteTarget (target_sp);
682 log->Printf ("SBDebugger(%p)::DeleteTarget (SBTarget(%p)) => %i", m_opaque_sp.get(), target.m_opaque_sp.get(), result);
691 if (m_opaque_sp)
694 sb_target.SetSP (m_opaque_sp->GetTargetList().GetTargetAtIndex (idx));
707 if (!m_opaque_sp)
710 return m_opaque_sp->GetTargetList().GetIndexOfTarget (target.GetSP());
717 if (m_opaque_sp)
720 sb_target.SetSP (m_opaque_sp->GetTargetList().FindTargetWithProcessID (pid));
729 if (m_opaque_sp && filename && filename[0])
732 ArchSpec arch (arch_name, m_opaque_sp->GetPlatformList().GetSelectedPlatform().get());
733 TargetSP target_sp (m_opaque_sp->GetTargetList().FindTargetWithExecutableAndArchitecture (FileSpec(filename, false), arch_name ? &arch : NULL));
743 if (m_opaque_sp)
746 sb_target.SetSP (m_opaque_sp->GetTargetList().FindTargetWithProcess (process_sp.get()));
755 if (m_opaque_sp)
758 return m_opaque_sp->GetTargetList().GetNumTargets ();
770 if (m_opaque_sp)
773 target_sp = m_opaque_sp->GetTargetList().GetSelectedTarget ();
781 log->Printf ("SBDebugger(%p)::GetSelectedTarget () => SBTarget(%p): %s", m_opaque_sp.get(),
794 if (m_opaque_sp)
796 m_opaque_sp->GetTargetList().SetSelectedTarget (target_sp.get());
802 log->Printf ("SBDebugger(%p)::SetSelectedTarget () => SBTarget(%p): %s", m_opaque_sp.get(),
820 m_opaque_sp.get(),
825 if (m_opaque_sp)
826 m_opaque_sp->DispatchInput ((const char *) data, data_len);
832 if (m_opaque_sp)
833 m_opaque_sp->DispatchInputInterrupt ();
839 if (m_opaque_sp)
840 m_opaque_sp->DispatchInputEndOfFile ();
849 log->Printf ("SBDebugger(%p)::InputReaderIsTopReader (SBInputReader(%p))", m_opaque_sp.get(), &reader);
851 if (m_opaque_sp && reader.IsValid())
854 return m_opaque_sp->InputReaderIsTopReader (reader_sp);
867 log->Printf ("SBDebugger(%p)::PushInputReader (SBInputReader(%p))", m_opaque_sp.get(), &reader);
869 if (m_opaque_sp && reader.IsValid())
871 TargetSP target_sp (m_opaque_sp->GetSelectedTarget());
876 m_opaque_sp->PushInputReader (reader_sp);
886 log->Printf ("SBDebugger(%p)::NotifyTopInputReader (%d)", m_opaque_sp.get(), notification);
888 if (m_opaque_sp)
889 m_opaque_sp->NotifyTopInputReader (notification);
895 m_opaque_sp = debugger_sp;
901 return m_opaque_sp.get();
907 assert (m_opaque_sp.get());
908 return *m_opaque_sp;
914 return m_opaque_sp;
931 if (m_opaque_sp)
932 return m_opaque_sp->GetInstanceName().AsCString();
992 if (m_opaque_sp)
993 return m_opaque_sp->GetTerminalWidth ();
1000 if (m_opaque_sp)
1001 m_opaque_sp->SetTerminalWidth (term_width);
1010 log->Printf ("SBDebugger(%p)::GetPrompt () => \"%s\"", m_opaque_sp.get(),
1011 (m_opaque_sp ? m_opaque_sp->GetPrompt() : ""));
1013 if (m_opaque_sp)
1014 return m_opaque_sp->GetPrompt ();
1021 if (m_opaque_sp)
1022 m_opaque_sp->SetPrompt (prompt);
1029 if (m_opaque_sp)
1030 return m_opaque_sp->GetScriptLanguage ();
1037 if (m_opaque_sp)
1039 m_opaque_sp->SetScriptLanguage (script_lang);
1046 if (m_opaque_sp)
1047 return m_opaque_sp->SetUseExternalEditor (value);
1054 if (m_opaque_sp)
1055 return m_opaque_sp->GetUseExternalEditor ();
1062 if (m_opaque_sp)
1063 return m_opaque_sp->SetUseColor (value);
1070 if (m_opaque_sp)
1071 return m_opaque_sp->GetUseColor ();
1080 if (m_opaque_sp)
1082 const char *name = m_opaque_sp->GetInstanceName().AsCString();
1083 user_id_t id = m_opaque_sp->GetID();
1095 if (m_opaque_sp)
1096 return m_opaque_sp->GetID();
1105 if (m_opaque_sp)
1112 m_opaque_sp->GetPlatformList().Append (platform_sp, make_selected);
1121 if (m_opaque_sp)
1123 PlatformSP platform_sp (m_opaque_sp->GetPlatformList().GetSelectedPlatform());
1137 if (m_opaque_sp)
1138 return m_opaque_sp->GetCloseInputOnEOF ();
1145 if (m_opaque_sp)
1146 m_opaque_sp->SetCloseInputOnEOF (b);
1244 if (m_opaque_sp)
1248 return m_opaque_sp->EnableLog (channel, categories, NULL, log_options, errors);
1258 if (m_opaque_sp)
1260 return m_opaque_sp->SetLoggingCallback (log_callback, baton);