我正在尝试使用 Qemu for AARCH64 调试应用程序
./qemu-arm64-static -g 1234 file.bin
运行 GDB 并连接到远程主机时,我收到以下错误消息:
$ ./aarch64-linux-gnu-gdb
GNU gdb (crosstool-NG linaro-1.13.1-4.8-2014.03 - Linaro GCC 2014.03) 7.6.1-2013.10
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-build_pc-linux-gnu --target=aarch64-linux-gnu".
For bug reporting instructions, please see:
<https://bugs.launchpad.net/gcc-linaro>.
(gdb) file file.bin
Reading symbols from .bin...(no debugging symbols found)...done.
(gdb) target remote localhost:1234
Remote debugging using localhost:1234
warning: while parsing target description (at line 1): Could not load XML document "arm-neon.xml"
warning: Could not load XML target description; ignoring
0x0000000000000000 in ?? ()
arm-neon.xml 好像应该是qemu发送的,qemu的strace:
read(4, "$qXfer:features:read:arm-neon.xm"..., 256) = 42
sendto(4, "+", 1, 0, NULL, 0) = 1
sendto(4, "$E00#a5", 7, 0, NULL, 0) = 7
recvfrom(4, "+", 1, 0, NULL, NULL) = 1
知道是什么导致了这个问题?qemu 应该如何检索 arm-neon.xml 以及如何解决?