Lines Matching refs: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
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
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()
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
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()
2479 GDBProcess *process; in gdb_create_default_process() local
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()