Lines Matching full:process

208         /* Return the default process' PID */  in gdb_get_cpu_pid()
221 /* 0 means any process, we take the first one */ in gdb_get_process()
252 CPUState *gdb_get_first_cpu_in_process(GDBProcess *process) in gdb_get_first_cpu_in_process() argument
257 if (gdb_get_cpu_pid(cpu) == process->pid) { in gdb_get_first_cpu_in_process()
301 GDBProcess *process = gdb_get_cpu_process(cpu); in gdb_first_attached_cpu() local
303 if (!process->attached) { in gdb_first_attached_cpu()
312 GDBProcess *process; in gdb_get_cpu() local
316 /* 0 means any process/thread, we take the first attached one */ in gdb_get_cpu()
319 /* any thread in a specific process */ in gdb_get_cpu()
320 process = gdb_get_process(pid); in gdb_get_cpu()
322 if (process == NULL) { in gdb_get_cpu()
326 if (!process->attached) { in gdb_get_cpu()
330 return gdb_get_first_cpu_in_process(process); in gdb_get_cpu()
339 process = gdb_get_cpu_process(cpu); in gdb_get_cpu()
341 if (pid && process->pid != pid) { in gdb_get_cpu()
345 if (!process->attached) { in gdb_get_cpu()
354 GDBProcess *process) in get_feature_xml() argument
356 CPUState *cpu = gdb_get_first_cpu_in_process(process); in get_feature_xml()
370 if (!process->target_xml) { in get_feature_xml()
395 process->target_xml = g_strjoinv(NULL, (void *)xml->pdata); in get_feature_xml()
397 return process->target_xml; in get_feature_xml()
733 GDBProcess *process; in gdb_handle_vcont() local
782 * specification is unclear regarding the process to act on. We in gdb_handle_vcont()
811 process = gdb_get_process(pid); in gdb_handle_vcont()
813 if (!process->attached) { in gdb_handle_vcont()
817 cpu = gdb_get_first_cpu_in_process(process); in gdb_handle_vcont()
1011 GDBProcess *process; in handle_detach() local
1029 process = gdb_get_process(pid); in handle_detach()
1030 gdb_process_breakpoint_remove_all(process); in handle_detach()
1031 process->attached = false; in handle_detach()
1042 /* No more process attached */ in handle_detach()
1415 GDBProcess *process; in handle_v_attach() local
1423 process = gdb_get_process(gdb_get_cmd_param(params, 0)->val_ul); in handle_v_attach()
1424 if (!process) { in handle_v_attach()
1428 cpu = gdb_get_first_cpu_in_process(process); in handle_v_attach()
1433 process->attached = true; in handle_v_attach()
1573 GDBProcess *process; in handle_query_curr_tid() local
1577 * the first thread of the current process (gdb returns the in handle_query_curr_tid()
1580 process = gdb_get_cpu_process(gdbserver_state.g_cpu); in handle_query_curr_tid()
1581 cpu = gdb_get_first_cpu_in_process(process); in handle_query_curr_tid()
1708 GDBProcess *process; in handle_query_xfer_features() local
1718 process = gdb_get_cpu_process(gdbserver_state.g_cpu); in handle_query_xfer_features()
1725 xml = get_feature_xml(p, &p, process); in handle_query_xfer_features()
2299 * Having a stop CPU corresponding to a process that is not attached in gdb_set_stop_cpu()
2473 * Create the process that will contain all the "orphan" CPUs (that are not
2474 * part of a CPU cluster). Note that if this process contains no CPUs, it won't
2479 GDBProcess *process; in gdb_create_default_process() local
2491 /* We need an available PID slot for this process */ in gdb_create_default_process()
2497 process = &s->processes[s->process_num - 1]; in gdb_create_default_process()
2498 process->pid = pid; in gdb_create_default_process()
2499 process->attached = false; in gdb_create_default_process()
2500 process->target_xml = NULL; in gdb_create_default_process()