There is no aarch64-unknown-linux-gnu-gdb in gcc-4.8.5-aarch64 toolchain

Hi,

I’d like to use KGDB in TX2 board. so i have searched how to use KGDB on ARMv8 platform.

As you know, there is a stage that connect gdb to kdgb to use KGDB as follows.

host side

$ aarch64-unknown-linux-gnu-gdb vmlinux
$ set remotebuad 115200
$ target remote /dev/ttyUSB0

But, there is no aarch64-unknown-linux-gnu-gdb in gcc-4.8.5-aarch64 toolchain.

Is my opinions wrong?? plz give me your opinions.

Thanks,
Doohan93

Hi doohan93,

Yes, we don’t provide the pre-built aarch64-unknown-linux-gnu-gdb in the tool chain.

Could you check the toolchain source and see if there is gdb?

https://developer.nvidia.com/embedded/dlc/l4t-gcc-toolchain-64-bit-sources-28-1

Btw, you can use other newer tool chains from Linaro for gdb and those will also work, e.g., the 5.3 series.