Package: gdb
Version: 7.10-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu disco ubuntu-patch

Dear Maintainer,

In Ubuntu, the attached patch was applied to achieve the following:

Enable support for the RISC-V architecture. This functionality was added
upstream in GDB version 8.2.1, but did not take effect in the gdb-multiarch
package because it maintains a whitelist of architectures to include (to keep
binary size small by eliminating rarely used ones). My undestanding is that the
list of supported architectures is meant to mirror binutils-multiarch, which
already includes RISC-V, meaning there shouldn't be any policy issues to adding
it here.


  * Enable RISC-V architecture support.


Thanks for considering the patch.


-- System Information:
Debian Release: buster/sid
  APT prefers disco
  APT policy: (500, 'disco')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-13-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -Nru gdb-8.2.50.20190214/debian/rules gdb-8.2.50.20190214/debian/rules
--- gdb-8.2.50.20190214/debian/rules    2018-09-26 04:56:22.000000000 -0400
+++ gdb-8.2.50.20190214/debian/rules    2019-02-20 13:55:35.000000000 -0500
@@ -150,6 +150,8 @@
        powerpc-linux-gnuspe \
        powerpc64le-linux-gnu \
        powerpc64-linux-gnu \
+       riscv32-linux-gnu \
+       riscv64-linux-gnu \
        s390-linux-gnu \
        s390x-linux-gnu \
        sh-linux-gnu \

Reply via email to