You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We had some issue with getting GDB to work across platforms, causing errors in our just gdb command.
Currently just gdb starts rust-gdb, which is simply a wrapper around the default gdb of the platform. The problem is that the default gdb varies across platforms:
On Intel Mac it is gdb-multiarch, which works with RISC-V
On older Ubuntu it is gdb which only works for the host platform architecture, so it doesn't work with RISC-V
On Arm Mac gdb is not available for the host architecture, so the user must manually install riscv64-elf-gdb
I am not sure what the best solution is to make it works seamlessly for everyone, maybe trying to detect if gdb-multiarch or riscv64-elf-gdb are installed and pick the available one or display an helpful error message?
The text was updated successfully, but these errors were encountered:
We had some issue with getting GDB to work across platforms, causing errors in our
just gdb
command.Currently
just gdb
startsrust-gdb
, which is simply a wrapper around the defaultgdb
of the platform. The problem is that the defaultgdb
varies across platforms:gdb-multiarch
, which works with RISC-Vgdb
which only works for the host platform architecture, so it doesn't work with RISC-Vgdb
is not available for the host architecture, so the user must manually installriscv64-elf-gdb
I am not sure what the best solution is to make it works seamlessly for everyone, maybe trying to detect if
gdb-multiarch
orriscv64-elf-gdb
are installed and pick the available one or display an helpful error message?The text was updated successfully, but these errors were encountered: