Searched refs:gdb_id (Results 1 – 3 of 3) sorted by relevance
/external/valgrind/main/coregrind/m_gdbserver/ |
D | inferiors.c | 32 unsigned int gdb_id; member 98 void add_thread (unsigned long thread_id, void *target_data, unsigned int gdb_id) in add_thread() argument 114 new_thread->gdb_id = gdb_id; in add_thread() 124 return thread->gdb_id; in thread_id_to_gdb_id() 133 return thread->gdb_id; in thread_to_gdb_id() 136 struct thread_info * gdb_id_to_thread (unsigned int gdb_id) in gdb_id_to_thread() argument 142 if (thread->gdb_id == gdb_id) in gdb_id_to_thread() 150 unsigned long gdb_id_to_thread_id (unsigned int gdb_id) in gdb_id_to_thread_id() argument 152 struct thread_info *thread = gdb_id_to_thread (gdb_id); in gdb_id_to_thread_id()
|
D | server.c | 464 unsigned long gdb_id; in handle_query() local 469 gdb_id = strtoul (&arg_own_buf[17], NULL, 16); in handle_query() 470 ti = gdb_id_to_thread (gdb_id); in handle_query() 801 unsigned long gdb_id, thread_id; in server_main() local 803 gdb_id = strtoul (&own_buf[2], NULL, 16); in server_main() 804 thread_id = gdb_id_to_thread_id (gdb_id); in server_main() 976 unsigned long gdb_id, thread_id; in server_main() local 978 gdb_id = strtoul (&own_buf[1], NULL, 16); in server_main() 979 thread_id = gdb_id_to_thread_id (gdb_id); in server_main()
|
/external/qemu/ |
D | gdbstub.c | 1569 static inline int gdb_id(CPUState *env) in gdb_id() function 1583 if (gdb_id(env) == thread_id) { in find_cpu() 1611 gdb_id(s->c_cpu)); in gdb_handle_packet() 1840 snprintf(buf, sizeof(buf), "m%x", gdb_id(s->query_cpu)); in gdb_handle_packet() 1986 GDB_SIGNAL_TRAP, gdb_id(env), type, in gdb_vm_state_change() 1997 snprintf(buf, sizeof(buf), "T%02xthread:%02x;", ret, gdb_id(env)); in gdb_vm_state_change()
|