From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16175 invoked by alias); 28 Nov 2018 22:47:33 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 16148 invoked by uid 89); 28 Nov 2018 22:47:33 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=H*c:alternative X-HELO: mail-it1-f174.google.com Received: from mail-it1-f174.google.com (HELO mail-it1-f174.google.com) (209.85.166.174) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 28 Nov 2018 22:47:31 +0000 Received: by mail-it1-f174.google.com with SMTP id h65so587347ith.3 for ; Wed, 28 Nov 2018 14:47:31 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Peter Balazovic Date: Wed, 28 Nov 2018 22:47:00 -0000 Message-ID: Subject: =?UTF-8?Q?Re=3A_gdbserver=3A_Target_description_specified_unknown_?= =?UTF-8?Q?architecture_=E2=80=9Caarch64=E2=80=9D?= To: gdb@sourceware.org Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2018-11/txt/msg00026.txt.bz2 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 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 " 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 >