Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Peter Balazovic <balazovic.peter@gmail.com>
To: gdb@sourceware.org
Subject: Re: gdbserver: Target description specified unknown architecture “aarch64”
Date: Wed, 28 Nov 2018 22:47:00 -0000	[thread overview]
Message-ID: <CAFq4t4g+J9fy=-tcEn4f=2YwpPmvCd+FbawXNZc2b249FfJNsg@mail.gmail.com> (raw)
In-Reply-To: <cf318c69-e881-b486-3a9e-c496e6fcd790@redhat.com>

mine linux machine of gdb config

(gdb) show configuration
This GDB was configured as follows:
   configure --host=x86_64-linux-gnu --target=x86_64-linux-gnu
             --with-auto-load-dir=$debugdir:$datadir/auto-load
             --with-auto-load-safe-path=$debugdir:$datadir/auto-load
             --with-expat
             --with-gdb-datadir=/usr/share/gdb (relocatable)
             --with-jit-reader-dir=/usr/lib/gdb (relocatable)
             --without-libunwind-ia64
             --with-lzma
             --with-python=/usr (relocatable)
             --without-guile
             --with-separate-debug-dir=/usr/lib/debug (relocatable)
             --with-system-gdbinit=/etc/gdb/gdbinit
             --with-babeltrace

("Relocatable" means the directory can be moved with the GDB installation
tree, and GDB will still find it.)
(gdb) set architecture
auto               i386               i386:intel         i386:nacl
i386:x64-32        i386:x64-32:intel  i386:x64-32:nacl   i386:x86-64
i386:x86-64:intel  i386:x86-64:nacl   i8086


On Wed, Nov 28, 2018 at 11:28 PM Pedro Alves <palves@redhat.com> wrote:

> On 11/28/2018 06:31 PM, Peter Balazovic wrote:
>
> > I am looking for an advice to correctly debug with ARM remote target.
>
> Does "set architecture <TAB><TAB>" give you the option to select aarch64?
>
> It sounds like your gdb is not configured to support Aarch64.
>
> You'll need a gdb configured with
>   --target=aarch64-linux-gnu
> or
>   --enable-targets=aarch64-linux-gnu
>   --enable-targets=all
>
> Try "show configuration" in gdb.
>
> Thanks,
> Pedro Alves
>


      parent reply	other threads:[~2018-11-28 22:47 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
2018-11-28 22:47   ` Peter Balazovic [this message]

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='CAFq4t4g+J9fy=-tcEn4f=2YwpPmvCd+FbawXNZc2b249FfJNsg@mail.gmail.com' \
    --to=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