Using SH-4a GDB with renesas built image
Using SH-4a GDB with renesas built image
Is it possible to use Sh-gdb to debug a binary that is built using Renesas toolchain?
Thanks,
John
Hi John,
Based on my understanding, ‘renesas_cc_converter.exe’ is being used for CCRL (Renesas RL78). Support team should be able to confirm this.
And Renesas RXC/CCRX toolchain uses DebugComp\RX\rx_converter.exe. i.e., rx converter is used to convert the Renesas RXC / CCRX output file format into GNU debugging format.
For SH, you should use the sh_converter.exe
Hello John,
Thank you for reaching out to us!
Yes, it is possible to use SH-GDB to debug a binary built with the Renesas SHC Toolchain, however there are some incompatibilities between the two: the process, for example, is handled by sh_converter.exe in e2Studio. We therefore recommend you use SH-GDB under e2Studio directly, for best compatibility.
—
Thank you,
Adrian
The GNU Tools Support Team
Hi John,
The sh converter should be located in the DebugComp\SH\ directory e.g., e2studio_4.x.x.xx\DebugComp\SH\sh_converter.exe
This is shipped as part of “SH” e2 studio components i.e., SH is provided as an installable package as part of e2 studio installer, please ensure you have selected the SH components during e2 studio installation.
Please also have the SHC/GNUSH toolchains installed and integrated with e2 studio.
Create a dummy project and attempt debugging. This should extract the relevant components in the DebugComp\SH\ directory.
Or you may request the GNU Team to provide the sh_converter.exe
How about converting the Renesas output file into a GNU compatible format on command line by using the sh_converter.exe (available along with e2 studio) and then debugging using SH GDB?