Fix failing cooked_read selftest for CSKY.
authorHafiz Abid Qadeer <abidh@codesourcery.com>
Tue, 23 Oct 2018 22:16:58 +0000 (23:16 +0100)
committerHafiz Abid Qadeer <abidh@codesourcery.com>
Tue, 23 Oct 2018 22:16:58 +0000 (23:16 +0100)
The problem was discussed and approved in
https://sourceware.org/ml/gdb-patches/2018-10/msg00514.html

2018-10-23  Hafiz Abid Qadeer  <abidh@codesourcery.com>

* regcache.c (cooked_read_test): Add CSKY to the list of
architectures with a save_reggroup

gdb/ChangeLog
gdb/regcache.c

index 5ef217d446c5a93492abc8d888709a40a89ff6b0..ba3bf66db87a2c721baffcbe886878f8977ad5d8 100644 (file)
@@ -1,3 +1,8 @@
+2018-10-23  Hafiz Abid Qadeer  <abidh@codesourcery.com>
+
+       * regcache.c (cooked_read_test): Add CSKY to the list of
+       architectures with a save_reggroup
+
 2018-10-23  Simon Marchi  <simon.marchi@polymtl.ca>
 
        PR gdb/23368
index 38ad7ba3f1b6f4f7d71dcdfd35d1356539be3449..946035ae67aea6be49ea79d1cb57d3f6639b7bfd 100644 (file)
@@ -1679,7 +1679,7 @@ cooked_read_test (struct gdbarch *gdbarch)
              || bfd_arch == bfd_arch_mips || bfd_arch == bfd_arch_v850_rh850
              || bfd_arch == bfd_arch_tic6x || bfd_arch == bfd_arch_mn10300
              || bfd_arch == bfd_arch_rl78 || bfd_arch == bfd_arch_score
-             || bfd_arch == bfd_arch_riscv)
+             || bfd_arch == bfd_arch_riscv || bfd_arch == bfd_arch_csky)
            {
              /* Raw registers.  If raw registers are not in save_reggroup,
                 their status are unknown.  */