[libre-riscv-dev] Testing the simulator with qemu-5.0.0-rc0 and GDB

Tobias Platen libre-soc at platen-software.de
Mon Mar 30 10:44:11 BST 2020


I've upgraded my installed version of QEMU to the latest version because my old version (included in Debian Buster) does not support "-machine powernv9".

When running launch.sh I get these warnings:
qemu-system-ppc64: warning: TCG doesn't support requested feature, cap-cfpc=workaround
qemu-system-ppc64: warning: TCG doesn't support requested feature, cap-sbbc=workaround
qemu-system-ppc64: warning: TCG doesn't support requested feature, cap-ibs=workaround
qemu-system-ppc64: warning: TCG doesn't support requested feature, cap-ccf-assist=on

When I run "powerpc64-linux-gnu-gdb -x gdbscript", I get the following error message:

GNU gdb (GDB) 8.2.1
Copyright (C) 2018 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=powerpc64le-unknown-linux-gnu --target=powerpc64-buildroot-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
warning: No executable has been specified and target does not support
determining executable automatically.  Try using the "file" command.
0x000000003001b288 in ?? ()
gdbscript:2: Error in sourced command file:
Undefined command: "layout".  Try "help".

-- 
Tobias Platen <libre-soc[at]platen-software[dot]de>



More information about the libre-riscv-dev mailing list