patch-gdb_riscv-tdep_c 696 B

123456789101112
  1. --- gdb-8.3.1.orig/gdb/riscv-tdep.c 2019-09-21 00:04:41.000000000 +0200
  2. +++ gdb-8.3.1/gdb/riscv-tdep.c 2019-10-16 12:18:34.569267544 +0200
  3. @@ -3131,9 +3131,6 @@ riscv_gdbarch_init (struct gdbarch_info
  4. /* We do support running binaries compiled for 32-bit float on targets
  5. with 64-bit float, so we only complain if the binary requires more
  6. than the target has available. */
  7. - if (abi_features.flen > features.flen)
  8. - error (_("bfd requires flen %d, but target has flen %d"),
  9. - abi_features.flen, features.flen);
  10. /* If the ABI_FEATURES xlen is 0 then this indicates we got no useful abi
  11. features from the INFO object. In this case we assume that the xlen