Update ROCm for multi-target support
[deliverable/binutils-gdb.git] / gdb / amdgcn-rocm-tdep.c
index 44166db7f69f1cb7cb8b04f655a3f817c630b30a..920291e752597368c1b8fe8ea2a556245233e0e9 100644 (file)
@@ -1,7 +1,7 @@
 /* Target-dependent code for the ROCm amdgcn architecture.
 
-   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.
 
    This file is part of GDB.
 
@@ -307,7 +307,7 @@ amdgcn_rocm_displaced_step_fixup (struct gdbarch *gdbarch,
            status);
 
   /* We may have written some registers, so flush the register cache.  */
-  registers_changed_ptid (regcache->ptid ());
+  registers_changed_ptid (regcache->target (), regcache->ptid ());
 }
 
 static int
This page took 0.023882 seconds and 4 git commands to generate.