GDB (xrefs)
|
Private Attributes | |
bool | m_report_thread_events = false |
gdbarch * | m_cached_arch = nullptr |
ptid_t::tid_type | m_cached_arch_tid = 0 |
Additional Inherited Members | |
![]() | |
virtual gdb::array_view< const_gdb_byte > virtual thread_info_to_thread_handle(struct thread_info *) TARGET_DEFAULT_RETURN(gdb voi | stop )(ptid_t) TARGET_DEFAULT_IGNORE() |
Definition at line 177 of file amd-dbgapi-target.c.
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 871 of file amd-dbgapi-target.c.
References all_inferiors(), all_non_exited_inferiors(), amd_dbgapi_async_event_handler, target_ops::async(), async_event_handler_mark(), target_ops::beneath(), create_async_event_handler(), current_inferior(), dbgapi_notifier_handler(), delete_async_event_handler(), enable, get_amd_dbgapi_inferior_info(), handle_target_event(), info(), inf::pid, and inferior::process_target().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 1949 of file amd-dbgapi-target.c.
References amd_dbgapi_async_event_handler, and delete_async_event_handler().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 658 of file amd-dbgapi-target.c.
References amd_dbgapi_debug_printf, target_ops::beneath(), target_ops::commit_resumed(), current_inferior(), inferior::process_target(), and require_forward_progress().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 1502 of file amd-dbgapi-target.c.
References target_ops::beneath(), target_ops::detach(), detach_amd_dbgapi(), and remove_breakpoints_inf().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 517 of file amd-dbgapi-target.c.
References target_ops::beneath(), target_ops::extra_thread_info(), thread_info::ptid, and ptid_is_gpu().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 1517 of file amd-dbgapi-target.c.
References AMDGPU_MAX_REGISTER_SIZE, reg_buffer::arch(), target_ops::beneath(), target_ops::fetch_registers(), gdbarch_register_name(), get_amd_dbgapi_wave_id(), get_amdgpu_gdbarch_tdep(), get_status_string(), is_amdgpu_arch(), regcache::ptid(), ptid_is_gpu(), reg_buffer::raw_supply(), amdgpu_gdbarch_tdep::register_ids, register_type(), and status.
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 1176 of file amd-dbgapi-target.c.
References amd_dbgapi_async_event_handler, async_event_handler_marked(), target_ops::beneath(), and target_ops::has_pending_events().
|
inlineoverridevirtual |
Implements target_ops.
Definition at line 180 of file amd-dbgapi-target.c.
References amd_dbgapi_target_info.
Referenced by async(), thread_architecture(), and wait().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 1495 of file amd-dbgapi-target.c.
References target_ops::beneath(), current_inferior(), detach_amd_dbgapi(), and target_ops::mourn_inferior().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 508 of file amd-dbgapi-target.c.
References target_ops::beneath(), get_amd_dbgapi_wave_id(), target_ops::pid_to_str(), ptid_is_gpu(), and wave_target_id_string().
|
override |
Definition at line 576 of file amd-dbgapi-target.c.
References all_non_exited_threads(), amd_dbgapi_debug_printf, target_ops::beneath(), current_inferior(), get_amd_dbgapi_wave_id(), get_status_string(), inferior_ptid, inferior::process_target(), ptid_is_gpu(), require_forward_progress(), target_ops::resume(), and status.
|
override |
Definition at line 669 of file amd-dbgapi-target.c.
References all_inferiors(), amd_dbgapi_debug_printf, async_event_handler_mark(), target_ops::beneath(), current_inferior(), delete_thread_silent(), process_stratum_target::find_thread(), get_amd_dbgapi_inferior_info(), get_amd_dbgapi_wave_id(), get_status_string(), m_report_thread_events, inferior::process_target(), ptid_is_gpu(), require_forward_progress(), set_thread_exited(), status, target_ops::stop, target_is_async_p(), THREAD_EXITED, and amd_dbgapi_inferior_info::wave_events.
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 1336 of file amd-dbgapi-target.c.
References target_ops::beneath(), inferior_ptid, ptid_is_gpu(), and target_ops::stopped_by_hw_breakpoint().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 1317 of file amd-dbgapi-target.c.
References target_ops::beneath(), get_amd_dbgapi_wave_id(), inferior_ptid, ptid_is_gpu(), status, and target_ops::stopped_by_sw_breakpoint().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 567 of file amd-dbgapi-target.c.
References target_ops::beneath(), inferior_ptid, ptid_is_gpu(), and target_ops::stopped_by_watchpoint().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 1545 of file amd-dbgapi-target.c.
References AMDGPU_MAX_REGISTER_SIZE, reg_buffer::arch(), target_ops::beneath(), gdbarch_register_name(), get_amd_dbgapi_wave_id(), get_amdgpu_gdbarch_tdep(), reg_buffer::invalidate(), is_amdgpu_arch(), regcache::ptid(), ptid_is_gpu(), reg_buffer::raw_collect(), amdgpu_gdbarch_tdep::register_ids, amdgpu_gdbarch_tdep::register_properties, register_type(), status, and target_ops::store_registers().
|
inlineoverridevirtual |
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 483 of file amd-dbgapi-target.c.
References target_ops::beneath(), get_amd_dbgapi_wave_id(), ptid_is_gpu(), status, and target_ops::thread_alive().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 1590 of file amd-dbgapi-target.c.
References target_ops::beneath(), gdbarch_find_by_info(), get_amd_dbgapi_wave_id(), info(), m_cached_arch, m_cached_arch_tid, ptid_is_gpu(), status, and target_ops::thread_architecture().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 1631 of file amd-dbgapi-target.c.
References target_ops::beneath(), enable, m_report_thread_events, and target_ops::thread_events().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 499 of file amd-dbgapi-target.c.
References target_ops::beneath(), thread_info::ptid, ptid_is_gpu(), and target_ops::thread_name().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 1638 of file amd-dbgapi-target.c.
References add_thread_silent(), all_inferiors(), target_ops::beneath(), delete_thread_silent(), get_amd_dbgapi_process_id(), get_status_string(), make_gpu_ptid(), inf::pid, ptid_is_gpu(), set_executing(), set_running(), status, THREAD_EXITED, target_ops::update_thread_list(), and xfree().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 1224 of file amd-dbgapi-target.c.
References all_inferiors(), amd_dbgapi_debug_printf, arch_stratum, async_event_handler_clear(), async_event_handler_mark(), target_ops::beneath(), consume_one_event(), current_inferior(), get_amd_dbgapi_inferior_info(), info(), target_waitstatus::kind(), process_event_queue(), inferior::process_target(), require_forward_progress(), amd_dbgapi_inferior_info::runtime_state, target_waitstatus::set_ignore(), target_is_async_p(), TARGET_WAITKIND_EXITED, TARGET_WAITKIND_IGNORE, TARGET_WAITKIND_NO_RESUMED, TARGET_WAITKIND_SIGNALLED, the_amd_dbgapi_target, and target_ops::wait().
|
overridevirtual |
Reimplemented from target_ops.
Definition at line 526 of file amd-dbgapi-target.c.
References target_ops::beneath(), current_inferior(), get_amd_dbgapi_process_id(), get_amd_dbgapi_wave_id(), inferior_ptid, ptid_is_gpu(), status, TARGET_OBJECT_MEMORY, TARGET_XFER_E_IO, TARGET_XFER_OK, and target_ops::xfer_partial().
Definition at line 235 of file amd-dbgapi-target.c.
Referenced by thread_architecture().
|
private |
Definition at line 236 of file amd-dbgapi-target.c.
Referenced by thread_architecture().
|
private |
Definition at line 232 of file amd-dbgapi-target.c.
Referenced by stop(), and thread_events().