Closed Happytreat closed 3 years ago
How are you intending to use gdb in this context? In other words, what is emulating RISC-V on your mac?
I just copy the /usr/local/Cellar/gdb/10.1/share/gdb/python to the folder, looks like the problem solved.
I just copy the /usr/local/Cellar/gdb/10.1/share/gdb/python to the folder, looks like the problem solved.
Please tell me to copy to which folder, I'm facing the same problem you've met.
cd /usr/local/Cellar/riscv-gnu-toolchain/master/share
mkdir gdb
cd gdb
cp -r /usr/local/Cellar/gdb/10.2/share/gdb/python .
@Smith-Cruise Executing these commands seems to solve my problem.
Hi, I am currently work on xv6 riscv and it seems that riscv64-unknown-elf-gdb doesn't work. Could you please help me with it?
After running riscv64-unknown-elf-gdb, the ERROR message was:
Python Exception <type 'exceptions.NameError'> Installation error: gdb._execute_unwinders function is missing
.gdbinit: (Expected to work)