I have installed QEMU in RHEL for running the assembly programs in ARM. I have successfully installed QEMU and ARM. However, for debugging we are thinking to use GDB. I want to install the GDB-Multiarch in RHEL. I have installed GDB and when I run the command GDB I am getting the GDB shell successfully. However, I need to use the GDB-Multiarch and I am not able to run this command. To successfully run an assembly program, I need to execute the below command.
qemu-system-arm -S -s -M versatilepb -daemonize -m 128M -d in_asm,cpu,exec -kernel hello_world.bin ; gdb-multiarch --batch --command=hello_world.gdb
In the above command, I am getting the error as gdb-multiarch command as not found. I am really new to this environment and I would appreciate the help.