Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Pedro Alves <palves@redhat.com>
To: Peter Balazovic <balazovic.peter@gmail.com>, gdb@sourceware.org
Subject: Re: gdbserver: Target description specified unknown architecture “aarch64”
Date: Thu, 29 Nov 2018 14:11:00 -0000	[thread overview]
Message-ID: <6ea376a3-c3c9-0307-016e-1ad247d0fda3@redhat.com> (raw)
In-Reply-To: <CAFq4t4idwtHLqK6wCRFbxnEg8Ma=Vwo3xnk4chxg55xwcsk2sQ@mail.gmail.com>

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


  parent reply	other threads:[~2018-11-29 14:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-28 18:31 Peter Balazovic
2018-11-28 18:42 ` Peter Balazovic
2018-11-28 22:28 ` Pedro Alves
2018-11-28 22:42   ` Peter Balazovic
2018-11-29  0:22     ` Pedro Alves
2018-11-29  6:05       ` Peter Balazovic
2018-11-29  9:52         ` Peter Balazovic
2018-11-29 14:11         ` Pedro Alves [this message]
2018-11-28 22:47   ` Peter Balazovic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6ea376a3-c3c9-0307-016e-1ad247d0fda3@redhat.com \
    --to=palves@redhat.com \
    --cc=balazovic.peter@gmail.com \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox