linuxgdbarmqemu

gdb-multiarch for RHEL


I am trying to find away to run the gdb-multiarch command in RHEL. I have installed the QEMU emulator for ARM processing. I want to install the GDB for debugging. I am able to install the GDB-multiarch successfully in Ubuntu by running the command

sudo apt-get GDB-multiarch

However, I do not find yum install GDB-multiarch. If I run the command GDB in RHEL, I am getting the shell prompt for GDB. However, if I run the command gdb-multiarch, I get a "command not found" error. I do realize the repository for gdb-multiarch is not available with RHEL. I tried different versions of GDB from this link. I do see the multiarch is supported in 7.6.1 version from this link. However, I still get the command not found error only. I have raised a question regarding this problem in unix stack exchange. The link to that question is this one.

Can someone please let me know if the gdb-multiarch is supported in RHEL?


Solution

  • I don't believe RHEL includes a multiarch gdb package. You can report a feature request to Red Hat bugzilla in the usual way, or contact your TAM if you have one. Alternatively, you can build gdb yourself.