diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2019-10-16 16:50:54 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2019-10-16 16:50:54 +0200 |
commit | b85a5bbcb7962c77852f723924d2b1dd58d482dc (patch) | |
tree | 8f84bcd6f0329470d4bcbaa3e9f9a56120fc8bb6 /package/gdb/patches/patch-gdb_riscv-tdep_c | |
parent | fb1227583603bc6fefbdac5c1b1bf81cdf737d65 (diff) |
gdb: allow nios2, workaround a riscv issue
Diffstat (limited to 'package/gdb/patches/patch-gdb_riscv-tdep_c')
-rw-r--r-- | package/gdb/patches/patch-gdb_riscv-tdep_c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/gdb/patches/patch-gdb_riscv-tdep_c b/package/gdb/patches/patch-gdb_riscv-tdep_c new file mode 100644 index 000000000..17834f821 --- /dev/null +++ b/package/gdb/patches/patch-gdb_riscv-tdep_c @@ -0,0 +1,12 @@ +--- gdb-8.3.1.orig/gdb/riscv-tdep.c 2019-09-21 00:04:41.000000000 +0200 ++++ gdb-8.3.1/gdb/riscv-tdep.c 2019-10-16 12:18:34.569267544 +0200 +@@ -3131,9 +3131,6 @@ riscv_gdbarch_init (struct gdbarch_info + /* We do support running binaries compiled for 32-bit float on targets + with 64-bit float, so we only complain if the binary requires more + than the target has available. */ +- if (abi_features.flen > features.flen) +- error (_("bfd requires flen %d, but target has flen %d"), +- abi_features.flen, features.flen); + + /* If the ABI_FEATURES xlen is 0 then this indicates we got no useful abi + features from the INFO object. In this case we assume that the xlen |