Lines Matching defs:pid
207 nub_process_t pid = m_ctx.ProcessID();
212 count = DNBProcessGetAvailableSTDOUT(pid, buf, sizeof(buf));
221 count = DNBProcessGetAvailableSTDERR(pid, buf, sizeof(buf));
235 nub_process_t pid = m_ctx.ProcessID();
240 count = DNBProcessGetAvailableProfileData(pid, buf, sizeof(buf));
1106 pid_t pid = m_ctx.ProcessID();
1107 if (pid == INVALID_NUB_PROCESS)
1158 uint32_t cpu_type = DNBProcessGetCPUType (pid);
1427 nub_process_t pid = m_ctx.ProcessID();
1428 if (pid == INVALID_NUB_PROCESS)
1435 nub_size_t numthreads = DNBProcessGetNumThreads (pid);
1445 nub_thread_t th = DNBProcessGetThreadAtIndex (pid, i);
1462 nub_process_t pid = m_ctx.ProcessID();
1463 if (pid == INVALID_NUB_PROCESS)
1480 const char * threadInfo = DNBThreadGetInfo(pid, tid);
1626 nub_process_t pid;
1629 // pid is 0. That way it can know to tell use to run later on.
1631 pid = m_ctx.ProcessID();
1633 pid = 0;
1634 rep << "QC" << std::hex << pid;
1641 nub_process_t pid;
1644 // pid is 0. That way it can know to tell use to run later on.
1646 pid = m_ctx.ProcessID();
1648 pid = 0;
1649 rep << std::hex << pid;
2346 nub_process_t pid,
2356 if (DNBThreadGetRegisterValueByID (pid, tid, reg->nub_info.set, reg->nub_info.reg, ®_value))
2388 nub_process_t pid,
2399 register_value_in_hex_fixed_width (ostrm, pid, tid, reg, reg_value_ptr);
2407 const nub_process_t pid = m_ctx.ProcessID();
2408 if (pid == INVALID_NUB_PROCESS)
2416 if (DNBThreadGetStopReason (pid, tid, &tid_stop_info))
2451 const char *thread_name = DNBThreadGetName (pid, tid);
2470 if (DNBThreadGetIdentifierInfo (pid, tid, &thread_ident_info))
2487 const nub_size_t numthreads = DNBProcessGetNumThreads (pid);
2493 nub_thread_t th = DNBProcessGetThreadAtIndex (pid, i);
2512 if (!DNBThreadGetRegisterValueByID (pid, tid, g_reg_entries[reg].nub_info.set, g_reg_entries[reg].nub_info.reg, ®_value))
2515 gdb_regnum_with_fixed_width_hex_register_value (ostrm, pid, tid, &g_reg_entries[reg], ®_value);
2549 nub_process_t pid = m_ctx.ProcessID();
2550 nub_state_t pid_state = DNBProcessGetState (pid);
2565 nub_thread_t tid = DNBProcessGetCurrentThread (pid);
2581 if (!DNBProcessGetExitStatus(pid, &pid_status))
2810 nub_process_t pid = m_ctx.ProcessID ();
2818 nub_size_t reg_ctx_size = DNBThreadGetRegisterContext(pid, tid, NULL, 0);
2825 reg_ctx_size = DNBThreadGetRegisterContext(pid, tid, ®_ctx[0], reg_ctx.size());
2835 register_value_in_hex_fixed_width (ostrm, pid, tid, &g_reg_entries[reg], NULL);
2858 nub_process_t pid = m_ctx.ProcessID();
2866 nub_size_t reg_ctx_size = DNBThreadGetRegisterContext(pid, tid, NULL, 0);
2877 reg_ctx_size = DNBThreadSetRegisterContext(pid, tid, reg_ctx.data(), reg_ctx.size());
2905 if (!DNBThreadSetRegisterValueByID (pid, tid, reg_entry->nub_info.set, reg_entry->nub_info.reg, ®_value))
3032 vAttach;pid
3034 Attach to a new process with the specified process ID. pid is a hexadecimal integer
3174 attach_pid = strtoul (p, &end, 16); // PID will be in hex, so use base 16 to decode
3261 nub_process_t pid = m_ctx.ProcessID();
3287 if (DNBBreakpointSet (pid, addr, byte_size, hardware))
3315 if (DNBWatchpointSet (pid, addr, byte_size, watch_flags, hardware))
3338 if (DNBBreakpointClear (pid, addr))
3351 if (DNBWatchpointClear (pid, addr))
3409 nub_process_t pid = m_ctx.ProcessID();
3452 register_value_in_hex_fixed_width (ostrm, pid, tid, reg_entry, NULL);
3476 nub_process_t pid = m_ctx.ProcessID();
3515 if (!DNBThreadSetRegisterValueByID (pid, tid, reg_entry->nub_info.set, reg_entry->nub_info.reg, ®_value))
3528 const nub_process_t pid = m_ctx.ProcessID();
3530 if (pid == INVALID_NUB_PROCESS)
3547 if (!DNBProcessResume (pid, thread_actions.GetFirst(), thread_actions.GetSize()))
3624 nub_process_t pid = m_ctx.ProcessID();
3625 if (pid == INVALID_NUB_PROCESS)
3645 std::string data = DNBProcessGetProfileData(pid, scan_type);
3660 nub_process_t pid = m_ctx.ProcessID();
3661 if (pid == INVALID_NUB_PROCESS)
3696 DNBProcessSetEnableAsyncProfiling(pid, enable, interval_usec, scan_type);
3734 const nub_process_t pid = m_ctx.ProcessID();
3736 if (pid == INVALID_NUB_PROCESS)
3761 if (!DNBProcessSignal(pid, process_signo))
3763 if (!DNBProcessResume (pid, thread_actions.GetFirst(), thread_actions.GetSize()))
3818 const nub_process_t pid = m_ctx.ProcessID();
3819 if (pid == INVALID_NUB_PROCESS)
3835 if (!DNBProcessResume (pid, thread_actions.GetFirst(), thread_actions.GetSize()))
3847 const nub_process_t pid = m_ctx.ProcessID();
3848 if (pid == INVALID_NUB_PROCESS)
3875 nub_state_t tstate = DNBThreadGetState (pid, action.tid);
3885 if (!DNBProcessResume (pid, thread_actions.GetFirst(), thread_actions.GetSize()))
3969 // including the pid and the cpu type.
3974 nub_process_t pid;
3981 pid = m_ctx.ProcessID();
3983 rep << "pid:" << std::hex << pid << ";";
3989 procpid_mib[3] = pid;
3997 rep << "parent-pid:" << std::hex << proc_kinfo.kp_eproc.e_ppid << ";";
4006 cpu_type_t cputype = DNBProcessGetCPUType (pid);
4049 nub_thread_t thread = DNBProcessGetCurrentThreadMachPort (pid);