• Home
  • Raw
  • Download

Lines Matching refs:m_ctx

64     m_ctx (),  in RNBRemote()
205 if (m_ctx.HasValidProcessID()) in FlushSTDIO()
207 nub_process_t pid = m_ctx.ProcessID(); in FlushSTDIO()
233 if (m_ctx.HasValidProcessID()) in SendAsyncProfileData()
235 nub_process_t pid = m_ctx.ProcessID(); in SendAsyncProfileData()
357 m_ctx.Events().ResetEvents ( RNBContext::event_read_packet_available ); in GetPacketPayload()
370 m_ctx.Events().ResetEvents ( RNBContext::event_read_packet_available ); in GetPacketPayload()
465 PThreadEvent& events = m_ctx.Events(); in GetPacket()
679 PThreadEvent& events = m_ctx.Events(); in CommDataReceived()
702 PThreadEvent& events = m_ctx.Events(); in StartReadRemoteDataThread()
725 PThreadEvent& events = m_ctx.Events(); in StopReadRemoteDataThread()
1106 pid_t pid = m_ctx.ProcessID(); in InitializeRegisters()
1337 if (!m_ctx.HasValidProcessID()) in HandlePacket_H()
1362 if (m_ctx.HasValidProcessID() || m_ctx.LaunchStatus().Error() == 0) in HandlePacket_qLaunchSuccess()
1366 ret_str << "E" << m_ctx.LaunchStatusAsString(status_str); in HandlePacket_qLaunchSuccess()
1374 if (m_ctx.HasValidProcessID()) in HandlePacket_qShlibInfoAddr()
1376 nub_addr_t shlib_info_addr = DNBProcessGetSharedLibraryInfoAddress(m_ctx.ProcessID()); in HandlePacket_qShlibInfoAddr()
1427 nub_process_t pid = m_ctx.ProcessID(); in HandlePacket_qThreadInfo()
1462 nub_process_t pid = m_ctx.ProcessID(); in HandlePacket_qThreadExtraInfo()
1630 if (m_ctx.HasValidProcessID()) in HandlePacket_qC()
1631 pid = m_ctx.ProcessID(); in HandlePacket_qC()
1645 if (m_ctx.HasValidProcessID()) in HandlePacket_qGetPid()
1646 pid = m_ctx.ProcessID(); in HandlePacket_qGetPid()
2097 if (!m_ctx.HasValidProcessID()) in HandlePacket_QSetSTDIO()
2113 packet.GetHexByteString (m_ctx.GetSTDIN()); in HandlePacket_QSetSTDIO()
2114 success = !m_ctx.GetSTDIN().empty(); in HandlePacket_QSetSTDIO()
2118 packet.GetHexByteString (m_ctx.GetSTDOUT()); in HandlePacket_QSetSTDIO()
2119 success = !m_ctx.GetSTDOUT().empty(); in HandlePacket_QSetSTDIO()
2123 packet.GetHexByteString (m_ctx.GetSTDERR()); in HandlePacket_QSetSTDIO()
2124 success = !m_ctx.GetSTDERR().empty(); in HandlePacket_QSetSTDIO()
2141 if (!m_ctx.HasValidProcessID()) in HandlePacket_QSetWorkingDir()
2144 if (packet.GetHexByteString (m_ctx.GetWorkingDir())) in HandlePacket_QSetWorkingDir()
2147 if (::stat(m_ctx.GetWorkingDirPath(), &working_dir_stat) == -1) in HandlePacket_QSetWorkingDir()
2149 m_ctx.GetWorkingDir().clear(); in HandlePacket_QSetWorkingDir()
2158 m_ctx.GetWorkingDir().clear(); in HandlePacket_QSetWorkingDir()
2170 if (!m_ctx.HasValidProcessID()) in HandlePacket_QSyncThreadState()
2185 if (DNBProcessSyncThreadState(m_ctx.ProcessID(), tid)) in HandlePacket_QSyncThreadState()
2407 const nub_process_t pid = m_ctx.ProcessID(); in SendStopReplyPacketForThread()
2543 if (!m_ctx.HasValidProcessID()) in HandlePacket_last_signal()
2549 nub_process_t pid = m_ctx.ProcessID(); in HandlePacket_last_signal()
2679 nub_size_t wrote = DNBProcessMemoryWrite (m_ctx.ProcessID(), addr, length, buf); in HandlePacket_M()
2723 int bytes_read = DNBProcessMemoryRead (m_ctx.ProcessID(), addr, length, buf); in HandlePacket_m()
2786 nub_size_t wrote = DNBProcessMemoryWrite (m_ctx.ProcessID(), addr, data.size(), buf); in HandlePacket_X()
2802 if (!m_ctx.HasValidProcessID()) in HandlePacket_g()
2810 nub_process_t pid = m_ctx.ProcessID (); in HandlePacket_g()
2847 if (!m_ctx.HasValidProcessID()) in HandlePacket_G()
2858 nub_process_t pid = m_ctx.ProcessID(); in HandlePacket_G()
2968 nub_addr_t addr = DNBProcessMemoryAllocate (m_ctx.ProcessID(), size, permissions); in HandlePacket_AllocateMemory()
3000 if (DNBProcessMemoryDeallocate (m_ctx.ProcessID(), addr)) in HandlePacket_DeallocateMemory()
3127 DNBProcessResume(m_ctx.ProcessID(), thread_actions.GetFirst (), thread_actions.GetSize()); in HandlePacket_v()
3144 …attach_pid = DNBProcessAttachWait(attach_name.c_str (), m_ctx.LaunchFlavor(), ignore_existing, NUL… in HandlePacket_v()
3156 …attach_pid = DNBProcessAttachWait(attach_name.c_str (), m_ctx.LaunchFlavor(), ignore_existing, NUL… in HandlePacket_v()
3191 if (m_ctx.ProcessID() != attach_pid) in HandlePacket_v()
3192 m_ctx.SetProcessID(attach_pid); in HandlePacket_v()
3199 m_ctx.LaunchStatus().SetError(-1, DNBError::Generic); in HandlePacket_v()
3201 m_ctx.LaunchStatus().SetErrorString(err_str); in HandlePacket_v()
3203 m_ctx.LaunchStatus().SetErrorString("attach failed"); in HandlePacket_v()
3224 if (!m_ctx.HasValidProcessID()) in HandlePacket_T()
3235 nub_state_t state = DNBThreadGetState (m_ctx.ProcessID(), tid); in HandlePacket_T()
3251 if (!m_ctx.HasValidProcessID()) in HandlePacket_z()
3261 nub_process_t pid = m_ctx.ProcessID(); in HandlePacket_z()
3405 if (!m_ctx.HasValidProcessID()) in HandlePacket_p()
3409 nub_process_t pid = m_ctx.ProcessID(); in HandlePacket_p()
3471 if (!m_ctx.HasValidProcessID()) in HandlePacket_P()
3476 nub_process_t pid = m_ctx.ProcessID(); in HandlePacket_P()
3528 const nub_process_t pid = m_ctx.ProcessID(); in HandlePacket_c()
3596 DNBProcessMemoryRegionInfo (m_ctx.ProcessID(), address, &region_info); in HandlePacket_MemoryRegionInfo()
3624 nub_process_t pid = m_ctx.ProcessID(); in HandlePacket_GetProfileData()
3660 nub_process_t pid = m_ctx.ProcessID(); in HandlePacket_SetEnableAsyncProfiling()
3720 uint32_t num = DNBWatchpointGetNumSupportedHWP (m_ctx.ProcessID()); in HandlePacket_WatchpointSupportInfo()
3734 const nub_process_t pid = m_ctx.ProcessID(); in HandlePacket_C()
3777 if (m_ctx.HasValidProcessID()) in HandlePacket_D()
3778 DNBProcessDetach(m_ctx.ProcessID()); in HandlePacket_D()
3790 if (m_ctx.HasValidProcessID()) in HandlePacket_k()
3791 DNBProcessKill (m_ctx.ProcessID()); in HandlePacket_k()
3805 DNBProcessSignal (m_ctx.ProcessID(), SIGSTOP); in HandlePacket_stop_process()
3818 const nub_process_t pid = m_ctx.ProcessID(); in HandlePacket_s()
3847 const nub_process_t pid = m_ctx.ProcessID(); in HandlePacket_S()
3978 if (!m_ctx.HasValidProcessID()) in HandlePacket_qProcessInfo()
3981 pid = m_ctx.ProcessID(); in HandlePacket_qProcessInfo()