From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 88427 invoked by alias); 28 Nov 2018 18:31:29 -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 88411 invoked by uid 89); 28 Nov 2018 18:31:28 -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*r:sk:gdb@sou, badly, H*c:alternative X-HELO: mail-it1-f193.google.com Received: from mail-it1-f193.google.com (HELO mail-it1-f193.google.com) (209.85.166.193) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 28 Nov 2018 18:31:26 +0000 Received: by mail-it1-f193.google.com with SMTP id p197so5811355itp.0 for ; Wed, 28 Nov 2018 10:31:26 -0800 (PST) MIME-Version: 1.0 From: Peter Balazovic Date: Wed, 28 Nov 2018 18:31:00 -0000 Message-ID: Subject: =?UTF-8?Q?gdbserver=3A_Target_description_specified_unknown_arch?= =?UTF-8?Q?itecture_=E2=80=9Caarch64=E2=80=9D?= To: gdb@sourceware.org Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2018-11/txt/msg00022.txt.bz2 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.