rx-elf-gdb/run manual/options
rx-elf-gdb/run manual/options
Hello.
I’m a user trying to use e2-server-gdb rx-elf-gdb/run in an unattended continuous integration environment. I’ve got manual for e2-server-gdb from Renesas but not detailed information for the clients, rx-elf-gdb.exe and rx-elf-run.exe. I don’t know how to find it. Basically I’d be interested in the tools options for properly configuring the clients at command line.
At e2studio I can see parameters for rx-elf-gdb at debug configuration, but I don’t know neither their translation to command line options nor other configuration options I could use from command line.
After asking for this information to RenesasRulz I was told that perhaps Open Source Tools for Renesas support could help in regards.
Thanks in advance,
Ignasi Villagrasa
Hello,
Thank you for reaching out to us!
The manual for rx-elf-gdb and gdb in general can be found at this location: <RX toolchain install location>/Doc/gdb.pdf
Considering the automation use case, it could prove helpful to launch gdb with a command file:
rx-elf-gdb target_executable.x < commandfile.txt 2>&1
The commandfile.txt can contain any commands that users would execute during an interactive gdb session, for example:
target sim load b main run c
GDB will execute the specified commands, then quit. The standard output could then be checked for any errors that may have occurred.
Regarding rx-elf-run, there’s no manual for it, but it’s a fairly simple tool:
– it uses the same implementation of the RX simulator as rx-elf-gdb (when executing the target sim command)
– the available options can be displayed by running:
rx-elf-run -?
Please let us know if we can be of further assistance.
__
Best regards,
The Open Source Tools Team