s5u1c17001c Epson Electronics America, Inc., s5u1c17001c Datasheet - Page 500

no-image

s5u1c17001c

Manufacturer Part Number
s5u1c17001c
Description
Cmos 16-bit Application Specific Controller
Manufacturer
Epson Electronics America, Inc.
Datasheet
10 DEBUGGER
10.7.10 File Loading Commands
file
10-108
Operation
Format
Usage example
GUI
Notes
Loads only debugging information from elf format object files.
Use the load command to load necessary object code.
file Filename
Filename: Name of object file in elf format to be debugged (with path also specifiable)
(gdb) file sample.elf
Debugging information is loaded from sample.elf in the current directory.
You can also choose [Open...] from the [File] menu in the [Source] window and open an elf format file from the
file select dialog box that appears. Selecting a file executes the file command. [Source] window display is
updated when the source file indicated in loaded debugging information is loaded.
• The file command only loads debugging information; it does not load object code. Therefore, except when
• The file command must be executed before the target and load commands. The following shows the
• Unless executed for elf object files in executable format (generated by the linker), the file command results
• The elf format object files contain information on source files (including the directory structure). For this
• Once the file command is executed, operation cannot be aborted until the debugger finishes loading the
the program is written to target ROM, you cannot start debugging by simply executing the file command.
basic sequence of command execution:
(gdb) c17 rpf sample.par (sets map information.)
(gdb) file sample.elf
(gdb) target sim
(gdb) load
(gdb) c17 rst
in an error and no files can be loaded. If the loaded file contains no debugging information, an error also
results.
reason, unless the source files exist in a specified directory in the object file as viewed from the current
directory, the source files cannot be loaded. Basically, the series of operations from compiling to debugging
should be performed in the same directory.
file.
(load debugging information)
(this command)
(connects the target.)
(loads the program.)
(resets the CPU.)
EPSON
(C COMPILER PACKAGE FOR S1C17 FAMILY) (Ver. 1.1)
S5U1C17001C MANUAL
[ICD Mini / SIM]

Related parts for s5u1c17001c