Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-57825

[c10s] Add riscv64 targets to gdb

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • CentOS Stream 10
    • gdb
    • None
    • No
    • None
    • rhel-sst-pt-perf-debug
    • ssg_platform_tools
    • 1
    • False
    • Hide

      None

      Show
      None
    • No
    • None
    • None
    • None
    • Unspecified Release Note Type - Unknown
    • None

      What were you trying to do that didn't work?

      gdb currently does not enable the riscv64 targets (riscv64-linux-gnu, riscv64-unknown-elf). It looks like riscv64 was disabled a while ago in https://gitlab.com/redhat/centos-stream/rpms/gdb/-/commit/ffb1d87bd94bb6ada5340b705bd4b52cb57c9d7a together with other changes. I would like to request them to be enabled so that one can use gdb to debug riscv64 target systems.

      What is the impact of this issue to you?

      I can't debug riscv64 target systems from CentOS Stream 10

      Please provide the package NVR for which the bug is seen:

      gdb-14.2-2.el10

      How reproducible is this bug?:

      always

      Steps to reproduce

      1. run gdb
      2. set architecture riscv
      3. observe failure

      Expected results

      gdb should support riscv targets

      Actual results

      gdb does not support riscv targets

              keiths@redhat.com Keith Seitz
              dcavalca Davide Cavalca
              Keith Seitz Keith Seitz
              qe-baseos-tools-bugs@redhat.com qe-baseos-tools-bugs@redhat.com qe-baseos-tools-bugs@redhat.com qe-baseos-tools-bugs@redhat.com
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: