Re: gdbserver: Target description specified unknown archi tecture “aarch64”

Pedro Alves <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.