gdbserver: Target description specified unknown arch itecture “aarch64”

Peter Balazovic <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <CAFq4t4iQpWU=Kb_RSjaSoeeq=ygi-NX_dU3pcsAdfdQv=vk7NA@mail.gmail.com>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.