- Copyright (C) 2019 Free Software Foundation, Inc.
- Copyright (C) 2019 Advanced Micro Devices, Inc. All rights reserved.
+ Copyright (C) 2019-2020 Free Software Foundation, Inc.
+ Copyright (C) 2019-2020 Advanced Micro Devices, Inc. All rights reserved.
closure->process_id, closure->wave_id, closure->displaced_stepping_id);
if (status != AMD_DBGAPI_STATUS_SUCCESS)
closure->process_id, closure->wave_id, closure->displaced_stepping_id);
if (status != AMD_DBGAPI_STATUS_SUCCESS)
- = target_read (current_top_target (), TARGET_OBJECT_MEMORY, NULL,
+ = target_read (current_top_target (), TARGET_OBJECT_CODE_MEMORY, NULL,
gdb_byte *breakpoint_instruction_bytes;
if (amd_dbgapi_architecture_get_info (
architecture_id, AMD_DBGAPI_ARCHITECTURE_INFO_BREAKPOINT_INSTRUCTION,
gdb_byte *breakpoint_instruction_bytes;
if (amd_dbgapi_architecture_get_info (
architecture_id, AMD_DBGAPI_ARCHITECTURE_INFO_BREAKPOINT_INSTRUCTION,