You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today i tried to extend the functionality for the (riscv-)GDB with the following project: https://github.com/cyrus-and/gdb-dashboard
For running this dashboard, the GDB must have Python support enabled (done while compiling the GDB).
Issue:
The actual (riscv-)GDB build does not support Python.
Reproduce:
start (riscv-)GDB and try to run Python.
$ riscv64-unknown-elf-gdb
(gdb) py print("hello")
Python scripting is not supported in this copy of GDB.
I see this not as an high priority error in the VM. It is a "nice to have" for development in C. And it's kind of standard to have Python scripting enabled in GDB.
It might become important during the QuantumRisc project to "pimp" the GDB. Maybe for measuring or counting cycles and instructions or such.
The gdb-dashboard does not have to be part of the VM. Developers should only be able to install it themself.
This can be worked around by installing the apt package python-is-python3. The package is installed automatically since commit 07acf2c03d3c96f0ba85c9aaf206f43fb76611a9. To take effect during the build of riscv-gdb, the operator must execute build_tools/install_build_essentials.sh before building gdb. To reduce the margin of error, I'm going to add python-is-python3 to build_tools/riscv_tools/install_riscv_essentials.sh
Today i tried to extend the functionality for the (riscv-)GDB with the following project:
https://github.com/cyrus-and/gdb-dashboard
For running this dashboard, the GDB must have Python support enabled (done while compiling the GDB).
Issue:
The actual (riscv-)GDB build does not support Python.
Reproduce:
start (riscv-)GDB and try to run Python.
Possible hint:
riscv-collab/riscv-gnu-toolchain#722
The text was updated successfully, but these errors were encountered: