Lines Matching defs:SBTarget

1 //===-- SBTarget.cpp --------------------------------------------*- C++ -*-===//
12 #include "lldb/API/SBTarget.h"
484 // SBTarget constructor
486 SBTarget::SBTarget () :
491 SBTarget::SBTarget (const SBTarget& rhs) :
496 SBTarget::SBTarget(const TargetSP& target_sp) :
501 const SBTarget&
502 SBTarget::operator = (const SBTarget& rhs)
512 SBTarget::~SBTarget()
517 SBTarget::GetBroadcasterClassName ()
523 SBTarget::IsValid () const
529 SBTarget::GetProcess ()
543 log->Printf ("SBTarget(%p)::GetProcess () => SBProcess(%p)",
551 SBTarget::GetDebugger () const
561 SBTarget::LoadCore (const char *core_file)
581 SBTarget::LaunchSimple
608 SBTarget::Launch
630 log->Printf ("SBTarget(%p)::Launch (argv=%p, envp=%p, stdin=%s, stdout=%s, stderr=%s, working-dir=%s, launch_flags=0x%x, stop_at_entry=%i, &error (%p))...",
731 error.SetErrorString ("SBTarget is invalid");
737 log->Printf ("SBTarget(%p)::Launch (...) => SBProcess(%p)",
745 SBTarget::Launch (SBLaunchInfo &sb_launch_info, SBError& error)
755 log->Printf ("SBTarget(%p)::Launch (launch_info, error)...", target_sp.get());
831 error.SetErrorString ("SBTarget is invalid");
837 log->Printf ("SBTarget(%p)::Launch (...) => SBProcess(%p)",
845 SBTarget::Attach (SBAttachInfo &sb_attach_info, SBError& error)
855 log->Printf ("SBTarget(%p)::Attach (sb_attach_info, error)...", target_sp.get());
876 log->Printf ("SBTarget(%p)::Attach (...) => error %s",
906 log->Printf ("SBTarget(%p)::Attach (...) => error %s",
930 error.SetErrorString ("SBTarget is invalid");
935 log->Printf ("SBTarget(%p)::Attach (...) => SBProcess(%p)",
946 SBTarget::AttachToProcessWithID (SBListener &listener,
956 SBTarget::AttachToProcessWithID
971 log->Printf ("SBTarget(%p)::AttachToProcessWithID (listener, pid=%" PRId64 ", error)...", target_sp.get(), pid);
1041 error.SetErrorString ("SBTarget is invalid");
1046 log->Printf ("SBTarget(%p)::AttachToProcessWithID (...) => SBProcess(%p)",
1053 SBTarget::AttachToProcessWithName
1069 log->Printf ("SBTarget(%p)::AttachToProcessWithName (listener, name=%s, wait_for=%s, error)...", target_sp.get(), name, wait_for ? "true" : "false");
1133 error.SetErrorString ("SBTarget is invalid");
1138 log->Printf ("SBTarget(%p)::AttachToPorcessWithName (...) => SBProcess(%p)",
1145 SBTarget::ConnectRemote
1161 log->Printf ("SBTarget(%p)::ConnectRemote (listener, url=%s, plugin_name=%s, error)...", target_sp.get(), url, plugin_name);
1185 error.SetErrorString ("SBTarget is invalid");
1190 log->Printf ("SBTarget(%p)::ConnectRemote (...) => SBProcess(%p)",
1197 SBTarget::GetExecutable ()
1212 log->Printf ("SBTarget(%p)::GetExecutable () => SBFileSpec(%p)",
1220 SBTarget::operator == (const SBTarget &rhs) const
1226 SBTarget::operator != (const SBTarget &rhs) const
1232 SBTarget::GetSP () const
1238 SBTarget::SetSP (const lldb::TargetSP& target_sp)
1244 SBTarget::ResolveLoadAddress (lldb::addr_t vm_addr)
1263 SBTarget::ResolveSymbolContextForAddress (const SBAddress& addr, uint32_t resolve_scope)
1277 SBTarget::BreakpointCreateByLocation (const char *file, uint32_t line)
1283 SBTarget::BreakpointCreateByLocation (const SBFileSpec &sb_file_spec, uint32_t line)
1305 log->Printf ("SBTarget(%p)::BreakpointCreateByLocation ( %s:%u ) => SBBreakpoint(%p): %s",
1317 SBTarget::BreakpointCreateByName (const char *symbol_name, const char *module_name)
1343 log->Printf ("SBTarget(%p)::BreakpointCreateByName (symbol=\"%s\", module=\"%s\") => SBBreakpoint(%p)",
1351 SBTarget::BreakpointCreateByName (const char *symbol_name,
1360 SBTarget::BreakpointCreateByName (const char *symbol_name,
1384 log->Printf ("SBTarget(%p)::BreakpointCreateByName (symbol=\"%s\", name_type: %d) => SBBreakpoint(%p)",
1392 SBTarget::BreakpointCreateByNames (const char *symbol_names[],
1418 log->Printf ("SBTarget(%p)::BreakpointCreateByName (symbols={", target_sp.get());
1439 SBTarget::BreakpointCreateByRegex (const char *symbol_name_regex, const char *module_name)
1467 log->Printf ("SBTarget(%p)::BreakpointCreateByRegex (symbol_regex=\"%s\", module_name=\"%s\") => SBBreakpoint(%p)",
1475 SBTarget::BreakpointCreateByRegex (const char *symbol_name_regex,
1495 log->Printf ("SBTarget(%p)::BreakpointCreateByRegex (symbol_regex=\"%s\") => SBBreakpoint(%p)",
1503 SBTarget::BreakpointCreateByAddress (addr_t address)
1517 log->Printf ("SBTarget(%p)::BreakpointCreateByAddress (address=%" PRIu64 ") => SBBreakpoint(%p)", target_sp.get(), (uint64_t) address, sb_bp.get());
1524 SBTarget::BreakpointCreateBySourceRegex (const char *source_regex, const lldb::SBFileSpec &source_file, const char *module_name)
1554 log->Printf ("SBTarget(%p)::BreakpointCreateByRegex (source_regex=\"%s\", file=\"%s\", module_name=\"%s\") => SBBreakpoint(%p)",
1562 SBTarget::BreakpointCreateBySourceRegex (const char *source_regex,
1579 log->Printf ("SBTarget(%p)::BreakpointCreateByRegex (source_regex=\"%s\") => SBBreakpoint(%p)",
1587 SBTarget::BreakpointCreateForException (lldb::LanguageType language,
1603 log->Printf ("SBTarget(%p)::BreakpointCreateByRegex (Language: %s, catch: %s throw: %s) => SBBreakpoint(%p)",
1615 SBTarget::GetNumBreakpoints () const
1627 SBTarget::GetBreakpointAtIndex (uint32_t idx) const
1640 SBTarget::BreakpointDelete (break_id_t bp_id)
1654 log->Printf ("SBTarget(%p)::BreakpointDelete (bp_id=%d) => %i", target_sp.get(), (uint32_t) bp_id, result);
1661 SBTarget::FindBreakpointByID (break_id_t bp_id)
1675 log->Printf ("SBTarget(%p)::FindBreakpointByID (bp_id=%d) => SBBreakpoint(%p)",
1683 SBTarget::EnableAllBreakpoints ()
1696 SBTarget::DisableAllBreakpoints ()
1709 SBTarget::DeleteAllBreakpoints ()
1722 SBTarget::GetNumWatchpoints () const
1734 SBTarget::GetWatchpointAtIndex (uint32_t idx) const
1747 SBTarget::DeleteWatchpoint (watch_id_t wp_id)
1763 log->Printf ("SBTarget(%p)::WatchpointDelete (wp_id=%d) => %i", target_sp.get(), (uint32_t) wp_id, result);
1770 SBTarget::FindWatchpointByID (lldb::watch_id_t wp_id)
1788 log->Printf ("SBTarget(%p)::FindWatchpointByID (bp_id=%d) => SBWatchpoint(%p)",
1796 SBTarget::WatchAddress (lldb::addr_t addr, size_t size, bool read, bool write, SBError &error)
1828 log->Printf ("SBTarget(%p)::WatchAddress (addr=0x%" PRIx64 ", 0x%u) => SBWatchpoint(%p)",
1836 SBTarget::EnableAllWatchpoints ()
1851 SBTarget::DisableAllWatchpoints ()
1866 SBTarget::DeleteAllWatchpoints ()
1882 SBTarget::AddModule (const char *path,
1890 SBTarget::AddModule (const char *path,
1918 SBTarget::AddModule (const SBModuleSpec &module_spec)
1928 SBTarget::AddModule (lldb::SBModule &module)
1940 SBTarget::GetNumModules () const
1953 log->Printf ("SBTarget(%p)::GetNumModules () => %d", target_sp.get(), num);
1959 SBTarget::Clear ()
1964 log->Printf ("SBTarget(%p)::Clear ()", m_opaque_sp.get());
1971 SBTarget::FindModule (const SBFileSpec &sb_file_spec)
1985 SBTarget::GetByteOrder ()
1994 SBTarget::GetTriple ()
2010 SBTarget::GetAddressByteSize()
2020 SBTarget::GetModuleAtIndex (uint32_t idx)
2036 log->Printf ("SBTarget(%p)::GetModuleAtIndex (idx=%d) => SBModule(%p)",
2044 SBTarget::RemoveModule (lldb::SBModule module)
2054 SBTarget::GetBroadcaster () const
2062 log->Printf ("SBTarget(%p)::GetBroadcaster () => SBBroadcaster(%p)",
2069 SBTarget::GetDescription (SBStream &description, lldb::DescriptionLevel description_level)
2085 SBTarget::FindFunctions (const char *name, uint32_t name_type_mask)
2108 SBTarget::FindFirstType (const char* typename_cstr)
2162 SBTarget::GetBasicType(lldb::BasicType type)
2176 SBTarget::FindTypes (const char* typename_cstr)
2243 SBTarget::FindGlobalVariables (const char *name, uint32_t max_matches)
2275 SBTarget::FindFirstGlobalVariable (const char* name)
2284 SBTarget::GetSourceManager()
2291 SBTarget::ReadInstructions (lldb::SBAddress base_addr, uint32_t count)
2297 SBTarget::ReadInstructions (lldb::SBAddress base_addr, uint32_t count, const char *flavor_string)
2335 SBTarget::GetInstructions (lldb::SBAddress base_addr, const void *buf, size_t size)
2341 SBTarget::GetInstructionsWithFlavor (lldb::SBAddress base_addr, const char *flavor_string, const void *buf, size_t size)
2369 SBTarget::GetInstructions (lldb::addr_t base_addr, const void *buf, size_t size)
2375 SBTarget::GetInstructionsWithFlavor (lldb::addr_t base_addr, const char *flavor_string, const void *buf, size_t size)
2381 SBTarget::SetSectionLoadAddress (lldb::SBSection section,
2422 SBTarget::ClearSectionLoadAddress (lldb::SBSection section)
2452 SBTarget::SetModuleLoadAddress (lldb::SBModule module, int64_t slide_offset)
2493 SBTarget::ClearModuleLoadAddress (lldb::SBModule module)
2552 SBTarget::FindSymbols (const char *name, lldb::SymbolType symbol_type)
2573 SBTarget::EvaluateExpression (const char *expr, const SBExpressionOptions &options)
2587 log->Printf ("SBTarget::EvaluateExpression called with an empty expression");
2595 log->Printf ("SBTarget()::EvaluateExpression (expr=\"%s\")...", expr);
2606 Host::SetCrashDescriptionWithFormat ("SBTarget::EvaluateExpression (expr = \"%s\", fetch_dynamic_value = %u) %s",
2622 log->Printf ("SBTarget::EvaluateExpression () => error: could not reconstruct frame object for this SBTarget.");
2627 expr_log->Printf("** [SBTarget::EvaluateExpression] Expression result is %s, summary %s **",
2632 log->Printf ("SBTarget(%p)::EvaluateExpression (expr=\"%s\") => SBValue(%p) (execution result=%d)",
2644 SBTarget::GetStackRedZoneSize()