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
The issue could be reproducible when you start GDB as a child process (not standalone process).
See output below, the data-directory value is fixed to some path instead of relative value like share/gdb.
GNU MCU Eclipse 64-bits Open On-Chip Debugger 0.10.0+dev-00392-gbe9ef0b0 (2018-01-12-16:51)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
adapter speed: 10000 kHz
Info : auto-selecting first available session transport "jtag". To override use 'transport select <transport>'.
Python Exception <type 'exceptions.ImportError'> No module named gdb:
piogdb: warning:
Could not load the Python gdb module from `/Users/palmer/riscv-binary-tools/obj/x86_64-apple-darwin/install/riscv64-unknown-elf-gcc-20171231-x86_64-apple-darwin/share/gdb/python'.
Limited Python support is available from the _gdb module.
Suggest passing --data-directory=/path/to/gdb/data-directory.
Info : ftdi: if you experience problems at higher adapter clocks, try the command "ftdi_tdo_sample_edge falling"
Info : clock speed 10000 kHz
Info : JTAG tap: riscv.cpu tap/device found: 0x10e31913 (mfg: 0x489 (SiFive, Inc.), part: 0x0e31, ver: 0x1)
Info : Examined RISCV core; XLEN=32, misa=0x40001105
Info : Listening on port 3333 for gdb connections
Info : [0] Found 2 triggers
halted at 0x204000c2 due to debug interrupt
Info : Found flash device 'issi is25lp128' (ID 0x0018609d)
cleared protection for sectors 64 through 255 on flash bank 0
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : accepting 'gdb' connection on tcp/3333
warning: No executable has been specified and target does not support
determining executable automatically. Try using the "file" command.
Python Exception <type 'exceptions.NameError'> Installation error: gdb.execute_unwinders function is missing:
0x204000c2 in ?? ()
The target architecture is assumed to be riscv:rv32
Python Exception <type 'exceptions.NameError'> Installation error: gdb.execute_unwinders function is missing:
Temporary breakpoint 1 at 0x2040006c
Info : JTAG tap: riscv.cpu tap/device found: 0x10e31913 (mfg: 0x489 (SiFive, Inc.), part: 0x0e31, ver: 0x1)
halted at 0x204000c2 due to debug interrupt
Info : Padding image section 0 with 2 bytes
halted at 0x80000004 due to software breakpoint
halted at 0x80000004 due to software breakpoint
halted at 0x80000004 due to software breakpoint
halted at 0x80000004 due to software breakpoint
halted at 0x80000004 due to software breakpoint
halted at 0x80000004 due to software breakpoint
halted at 0x80000004 due to software breakpoint
halted at 0x80000004 due to software breakpoint
halted at 0x80000004 due to software breakpoint
halted at 0x80000004 due to software breakpoint
Info : JTAG tap: riscv.cpu tap/device found: 0x10e31913 (mfg: 0x489 (SiFive, Inc.), part: 0x0e31, ver: 0x1)
halted at 0x80000004 due to software breakpoint
Loading section .init, size 0x6c lma 0x20400000
Loading section .text, size 0xbbf2 lma 0x2040006c
Loading section .rodata, size 0x1144 lma 0x2040bc60
Loading section .eh_frame, size 0x68 lma 0x2040cda4
Loading section .data, size 0x9d0 lma 0x2040ce0c
Start address 0x20400000, load size 55258
Transfer rate: 97 KB/sec, 6907 bytes/write.
(gdb) show data-directory
GDB's data directory is "/Users/palmer/riscv-binary-tools/obj/x86_64-apple-darwin/install/riscv64-unknown-elf-gcc-20171231-x86_64-apple-darwin/share/gdb".
The text was updated successfully, but these errors were encountered:
ivankravets
changed the title
Unexpected "Remote connection closed" with GDB PIPE and RISC-V
Python Exception <type 'exceptions.ImportError'> No module named gdb
Apr 3, 2018
See https://sourceware.org/gdb/onlinedocs/gdb/Data-Files.html
The issue could be reproducible when you start GDB as a child process (not standalone process).
See output below, the
data-directory
value is fixed to some path instead of relative value likeshare/gdb
./cc @palmer-dabbelt
The text was updated successfully, but these errors were encountered: