reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
  231     assert(!m_debugged_process_up && "lldb-server creating debugged "
  237     m_debugged_process_up = std::move(*process_or);
  252              m_debugged_process_up->GetID());
  255     auto terminal_fd = m_debugged_process_up->GetTerminalFileDescriptor();
  274              m_debugged_process_up->GetID());
  279          m_debugged_process_up->GetID());
  291   if (m_debugged_process_up &&
  292       m_debugged_process_up->GetID() != LLDB_INVALID_PROCESS_ID)
  296                   pid, m_debugged_process_up->GetID());
  306   m_debugged_process_up = std::move(*process_or);
  309   auto terminal_fd = m_debugged_process_up->GetTerminalFileDescriptor();
  578   if (!m_debugged_process_up ||
  579       (m_debugged_process_up->GetID() == LLDB_INVALID_PROCESS_ID))
  583            m_debugged_process_up->GetID(), tid);
  586   NativeThreadProtocol *thread = m_debugged_process_up->GetThreadByID(tid);
  609       m_debugged_process_up->GetID(), tid, signum, int(tid_stop_info.reason),
  647     for (listed_thread = m_debugged_process_up->GetThreadAtIndex(thread_index);
  649         listed_thread = m_debugged_process_up->GetThreadAtIndex(thread_index)) {
  664           *m_debugged_process_up, threads_with_valid_stop_info_only);
  673                  m_debugged_process_up->GetID(),
  682          (thread = m_debugged_process_up->GetThreadAtIndex(i)) != nullptr;
 1035   if (!m_debugged_process_up ||
 1036       (m_debugged_process_up->GetID() == LLDB_INVALID_PROCESS_ID))
 1086   uid = m_debugged_process_up->StartTrace(options, error);
 1100   if (!m_debugged_process_up ||
 1101       (m_debugged_process_up->GetID() == LLDB_INVALID_PROCESS_ID))
 1123   Status error = m_debugged_process_up->StopTrace(uid, tid);
 1136   if (!m_debugged_process_up ||
 1137       (m_debugged_process_up->GetID() == LLDB_INVALID_PROCESS_ID))
 1166   Status error = m_debugged_process_up->GetTraceConfig(uid, options);
 1194   if (!m_debugged_process_up ||
 1195       (m_debugged_process_up->GetID() == LLDB_INVALID_PROCESS_ID))
 1240     error = m_debugged_process_up->GetData(uid, tid, buf, offset);
 1242     error = m_debugged_process_up->GetMetaData(uid, tid, buf, offset);
 1259   if (!m_debugged_process_up ||
 1260       (m_debugged_process_up->GetID() == LLDB_INVALID_PROCESS_ID))
 1263   lldb::pid_t pid = m_debugged_process_up->GetID();
 1280   if (!m_debugged_process_up ||
 1281       (m_debugged_process_up->GetID() == LLDB_INVALID_PROCESS_ID))
 1286   lldb::tid_t tid = m_debugged_process_up->GetCurrentThreadID();
 1289   NativeThreadProtocol *thread = m_debugged_process_up->GetCurrentThread();
 1305   if (!m_debugged_process_up) {
 1310   Status error = m_debugged_process_up->Kill();
 1313              m_debugged_process_up->GetID(), error);
 1360   if (!m_debugged_process_up) {
 1413     error = m_debugged_process_up->Signal(signo);
 1416                m_debugged_process_up->GetID(), error);
 1423   error = m_debugged_process_up->Resume(resume_actions);
 1426              m_debugged_process_up->GetID(), error);
 1451   if (!m_debugged_process_up) {
 1463   Status error = m_debugged_process_up->Resume(actions);
 1466              m_debugged_process_up->GetID(), error);
 1470   LLDB_LOG(log, "continued process {0}", m_debugged_process_up->GetID());
 1513   if (!m_debugged_process_up) {
 1575   Status error = m_debugged_process_up->Resume(thread_actions);
 1578              m_debugged_process_up->GetID(), error);
 1582   LLDB_LOG(log, "continued process {0}", m_debugged_process_up->GetID());
 1592   if (m_debugged_process_up)
 1593     m_debugged_process_up->SetCurrentThreadID(m_current_tid);
 1609   if (!m_debugged_process_up)
 1612   return SendStopReasonForState(m_debugged_process_up->GetState());
 1633     lldb::tid_t tid = m_debugged_process_up->GetCurrentThreadID();
 1643     return SendWResponse(m_debugged_process_up.get());
 1647              m_debugged_process_up->GetID(), process_state);
 1658   if (!m_debugged_process_up ||
 1659       (m_debugged_process_up->GetID() == LLDB_INVALID_PROCESS_ID))
 1663   NativeThreadProtocol *thread = m_debugged_process_up->GetThreadAtIndex(0);
 1864   if (!m_debugged_process_up ||
 1865       (m_debugged_process_up->GetID() == LLDB_INVALID_PROCESS_ID)) {
 1867              m_debugged_process_up ? "invalid process id"
 1879       thread = m_debugged_process_up->GetThreadAtIndex(thread_index);
 1881       thread = m_debugged_process_up->GetThreadAtIndex(thread_index)) {
 2104       m_debugged_process_up->GetArchitecture().GetByteOrder());
 2122   if (!m_debugged_process_up ||
 2123       (m_debugged_process_up->GetID() == LLDB_INVALID_PROCESS_ID)) {
 2166     NativeThreadProtocol *thread = m_debugged_process_up->GetThreadByID(tid);
 2200   if (!m_debugged_process_up ||
 2201       (m_debugged_process_up->GetID() == LLDB_INVALID_PROCESS_ID)) {
 2236   if (!m_debugged_process_up ||
 2237       (m_debugged_process_up->GetID() == LLDB_INVALID_PROCESS_ID)) {
 2243   Status error = m_debugged_process_up->Interrupt();
 2245     LLDB_LOG(log, "failed for process {0}: {1}", m_debugged_process_up->GetID(),
 2250   LLDB_LOG(log, "stopped process {0}", m_debugged_process_up->GetID());
 2261   if (!m_debugged_process_up ||
 2262       (m_debugged_process_up->GetID() == LLDB_INVALID_PROCESS_ID)) {
 2304   Status error = m_debugged_process_up->ReadMemoryWithoutTrap(
 2310               __FUNCTION__, m_debugged_process_up->GetID(), read_addr,
 2319               __FUNCTION__, m_debugged_process_up->GetID(), read_addr,
 2342   if (!m_debugged_process_up ||
 2343       (m_debugged_process_up->GetID() == LLDB_INVALID_PROCESS_ID)) {
 2392              m_debugged_process_up->GetID(), write_addr, byte_count,
 2401   Status error = m_debugged_process_up->WriteMemory(write_addr, &buf[0],
 2405              m_debugged_process_up->GetID(), write_addr, error);
 2411              m_debugged_process_up->GetID(), write_addr, byte_count);
 2430   if (!m_debugged_process_up ||
 2431       (m_debugged_process_up->GetID() == LLDB_INVALID_PROCESS_ID)) {
 2442       m_debugged_process_up->GetMemoryRegionInfo(0, region_info);
 2458   if (!m_debugged_process_up ||
 2459       (m_debugged_process_up->GetID() == LLDB_INVALID_PROCESS_ID)) {
 2480       m_debugged_process_up->GetMemoryRegionInfo(read_addr, region_info);
 2524   if (!m_debugged_process_up ||
 2525       (m_debugged_process_up->GetID() == LLDB_INVALID_PROCESS_ID)) {
 2595         m_debugged_process_up->SetBreakpoint(addr, size, want_hardware);
 2600              m_debugged_process_up->GetID(), error);
 2604     const Status error = m_debugged_process_up->SetWatchpoint(
 2610              m_debugged_process_up->GetID(), error);
 2618   if (!m_debugged_process_up ||
 2619       (m_debugged_process_up->GetID() == LLDB_INVALID_PROCESS_ID)) {
 2683         m_debugged_process_up->RemoveBreakpoint(addr, want_hardware);
 2688              m_debugged_process_up->GetID(), error);
 2692     const Status error = m_debugged_process_up->RemoveWatchpoint(addr);
 2697              m_debugged_process_up->GetID(), error);
 2707   if (!m_debugged_process_up ||
 2708       (m_debugged_process_up->GetID() == LLDB_INVALID_PROCESS_ID)) {
 2726   NativeThreadProtocol *thread = m_debugged_process_up->GetThreadByID(tid);
 2739   Status error = m_debugged_process_up->Resume(actions);
 2744               __FUNCTION__, m_debugged_process_up->GetID(), tid,
 2758     if (!m_debugged_process_up ||
 2759         (m_debugged_process_up->GetID() == LLDB_INVALID_PROCESS_ID)) {
 2765     auto buffer_or_error = m_debugged_process_up->GetAuxvData();
 2772     auto library_list = m_debugged_process_up->GetLoadedSVR4Libraries();
 2893              m_debugged_process_up->GetID(), error);
 2956                m_debugged_process_up->GetID(), save_id);
 2968              m_debugged_process_up->GetID(), error);
 3008   return SendStopReasonForState(m_debugged_process_up->GetState());
 3018   if (!m_debugged_process_up ||
 3019       (m_debugged_process_up->GetID() == LLDB_INVALID_PROCESS_ID)) {
 3041   if (pid != LLDB_INVALID_PROCESS_ID && m_debugged_process_up->GetID() != pid) {
 3045   const Status error = m_debugged_process_up->Detach();
 3050               __FUNCTION__, m_debugged_process_up->GetID(), error.AsCString());
 3080   if (!m_debugged_process_up ||
 3081       (m_debugged_process_up->GetID() == LLDB_INVALID_PROCESS_ID))
 3083   LLDB_LOG(log, "preparing packet for pid {0}", m_debugged_process_up->GetID());
 3088       *m_debugged_process_up, threads_with_valid_stop_info_only);
 3091              m_debugged_process_up->GetID(),
 3106   if (!m_debugged_process_up ||
 3107       m_debugged_process_up->GetID() == LLDB_INVALID_PROCESS_ID)
 3116   auto hw_debug_cap = m_debugged_process_up->GetHardwareDebugSupportInfo();
 3131   if (!m_debugged_process_up ||
 3132       m_debugged_process_up->GetID() == LLDB_INVALID_PROCESS_ID)
 3144       m_debugged_process_up->GetFileLoadAddress(file_name, file_load_address);
 3180   if (!m_debugged_process_up)
 3183   Status error = m_debugged_process_up->IgnoreSignals(signals);
 3218   if (!m_debugged_process_up ||
 3219       m_debugged_process_up->GetID() == LLDB_INVALID_PROCESS_ID)
 3230       return m_debugged_process_up->GetThreadAtIndex(0);
 3232       return m_debugged_process_up->GetThreadByID(current_tid);
 3262     return m_debugged_process_up->GetThreadByID(tid);
 3272     if (!m_debugged_process_up)
 3274     return m_debugged_process_up->GetCurrentThreadID();
 3295   if (m_debugged_process_up) {
 3297     if (m_debugged_process_up