Re: gdbserver: Target description specified unknown architecture “aarch64”
Pedro Alves
palves@redhat.com
Thu Nov 29 14:11:00 GMT 2018
On 11/29/2018 06:05 AM, Peter Balazovic wrote:
> understand, question is how to add more supported machines on gdb ...
As I said before:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You'll need a gdb configured with
--target=aarch64-linux-gnu
or
--enable-targets=aarch64-linux-gnu
--enable-targets=all
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I.e., you either build a GDB yourself with one of those
configure options, or you find a pre-built gdb somewhere,
one which was configured that way.
Reading your follow up, I see that you're on Ubuntu, and you
found out the gdb-multiarch package. Great, I did not know
Ubuntu had such a package. Evidently that was built/configured
with --enable-targets=all.
Good luck with your debugging.
Thanks,
Pedro Alves
More information about the Gdb
mailing list