From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13117 invoked by alias); 28 Nov 2018 18:42:09 -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 13106 invoked by uid 89); 28 Nov 2018 18:42:09 -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,WEIRD_PORT autolearn=ham version=3.3.2 spammy=H*c:alternative X-HELO: mail-it1-f173.google.com Received: from mail-it1-f173.google.com (HELO mail-it1-f173.google.com) (209.85.166.173) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 28 Nov 2018 18:42:07 +0000 Received: by mail-it1-f173.google.com with SMTP id m123-v6so6019966ita.4 for ; Wed, 28 Nov 2018 10:42:07 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Peter Balazovic Date: Wed, 28 Nov 2018 18:42: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/msg00023.txt.bz2 On Wed, Nov 28, 2018 at 7:31 PM Peter Balazovic wrote: > I try to use remotely the gdbserver for debug as follows > > Start the gdbserver on target machine > > $ gdbserver localhost:2000 hello -l 20 -b 10 > > Host machine has the program binary with debugging enabled > > "copied binary from ARM target to host" > > Run gdb on host machine > > $ gdb -q --args hello --enable-target=all > > Connect to the target > > (gdb) target remote 192.168.15.132192.168.15.132: No such file or directory. > (gdb) target remote 192.168.15.132:2000 > Remote debugging using 192.168.15.132:2000 > warning: while parsing target description (at line 11): Target description specified unknown architecture "aarch64" > warning: Could not load XML target description; ignoring > Remote register badly formatted: T051d:0000000000000000;1f:80fcffffffff0000;20:403cfdb7ffff0000;thread:pd60.d60;core:1; > here: 00000000;1f:80fcffffffff0000;20:403cfdb7ffff0000;thread:pd60.d60;core:1; > (gdb) q > > I am looking for an advice to correctly debug with ARM remote target. >