10 DEBUggEr
ini file
File format: Text file
File name:
gdbtk.ini
Description: This file is loaded in the debugger at startup to initialize the debugger. Closing the debugger
updates such setup contents as the window position and display color. To revert the various
debugger settings to the original factory settings, copy the original gdbtk.ini from the \gnu17\
utility\share directory to the gdb.exe directory (\gnu17) over the existing file there.
Object file
File format: elf format binary file
File name:
<filename>.elf
Description: This is the elf format absolute object file created by the linker ld. This file is loaded in the
debugger by using the file and load commands. Source display and symbolic debugging are
made possible by loading an object file that contains debug information.
Source files
File format: Text file
File name:
<filename>.c (C source), <filename>.s (assembly source)
Description: These are source files for the object file above, loaded in the debugger to generate source display.
Command file
File format: Text file
File name:
<filename>.cmd
Description: This file contains a description of debugging commands to be executed successively. By writing a
series of frequently used commands in a file, you can save the time and labor required for entering
commands from the keyboard each time. This file is loaded in the debugger and executed by the
startup option -x or the source command.
rOM data HEX file
File format: Motorola S3 format HEX file
File name:
<filename>.sa
Description: This file cannot be used for source-level debugging because it does not contain debug information.
Motorola S3 format files are needed when using the flash writer function. This file is loaded in the
debugger by the c17 fwlp or c17 fwld command.
Files in this format may be created from elf format files output from the linker ld by converting
them with the file format conversion tool objcopy.
objcopy format) objcopy -I elf32-little -O srec --srec-forceS3 <filename>.
elf <filename>.sa
Example: objcopy -I elf32-little -O srec --srec-forceS3 sample.elf
sample.sa
input simulation data file
File format: Text file
File name:
Any file name
Description: This file is loaded in the debugger by the simulated input function. The c17 stdin command is
used to specify the file name and other information.
reset definition command file
File format: Text file
File name:
reset.gdb
Description: Same as the command file.
User-defined button command file
File format: Text file
File name:
userdefine.gdb
Description: Same as the command file.
10-2
EPSOn
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
S5U1C17001C ManUal
Need help?
Do you have a question about the S5U1C17001C and is the answer not in the manual?
Questions and answers