Per https://community.platformio.org/t/remote-connection-closed/24208.
A user with the platformio.ini
[env:swervolf_nexys]
platform = chipsalliance
board = swervolf_nexys
framework = wd-riscv-sdk
monitor_speed = 115200
#debug_tool = whisper
board_build.bitstream_file = /Users/lee_king/Downloads/RVfpga/src/rvfpga.bit
attempts to start debugging (this works) and use the GDB dump command to dump the binary contents of a variable (GreyImage) to a file.
When using the examine (x) command to display the contents, it works fine
>x/10x GreyImage
0x4a7f8 : 0xbcc09bb6 0xb3a4bfb5 0xacaeb8bf 0xb7b6b3ae
0x4a808 <GreyImage+16>: 0xc2c1b1b8 0xb6b1c1c3 0xcabbbfbe 0xbccabeae
0x4a818 <GreyImage+32>: 0xc2c0b6b4 0xa3bec6bf
however, with either dump value GreyImage.dat GreyImage and also print GreyImage the result is
Info : dropped ‘gdb’ connection
Remote connection closed
Remote connection closed (from interpreter-exec console “print GreyImage”)
an immediate kill of the GDB session.
Per https://community.platformio.org/t/remote-connection-closed/24208.
A user with the
platformio.iniattempts to start debugging (this works) and use the GDB
dumpcommand to dump the binary contents of a variable (GreyImage) to a file.When using the examine (
x) command to display the contents, it works finehowever, with either
dump value GreyImage.dat GreyImageand alsoprint GreyImagethe result isan immediate kill of the GDB session.