s5u1c33000c Epson Electronics America, Inc., s5u1c33000c Datasheet - Page 104

no-image

s5u1c33000c

Manufacturer Part Number
s5u1c33000c
Description
Cmos 32-bit Single Chip Microcomputer S5u1c33000c Manual
Manufacturer
Epson Electronics America, Inc.
Datasheet
CHAPTER 6: C COMPILER
6.6 Debugging Information
If the startup option -g is specified (by checking [debug info] in wb33), the gcc33 inserts assembler
pseudo-instructions in the output file as debugging information in order to allow for C source level and symbolic
debugging.
Notes:
6.6.1 Source Information
The following three debug pseudo-instructions are output in order for the C source to be displayed in the
debugger.
1) .file "<path_name>"
2) .endfile
3) .loc <line_no>
6.6.2 Symbol Information
Information on all functions and variables are output as a .def pseudo-instruction. The following shows the
format of this .def pseudo-instruction.
General format: .def <symbol>, <parameter>, [<parameter>, ....,] endef
The contents of the .def pseudo-instruction thus output are shown below for each type of symbol.
Automatic variable, structure, union, or enum-type member, argument
88
This indicates the beginning of a file. It is inserted at the start position of the file. <path_name> is the file's
path name.
This indicates the end of a file. It is inserted at the end of the file.
This indicates the line information of the source file. It is inserted at the beginning of the assembly code
corresponding to each C source line. <line_no> is the source's line number.
.def <sym>, val <expr1>, scl <expr2>, type <expr3>, endef
This pseudo-instruction indicates that <sym> is an automatic variable or a structure, union or enum-type
member.
This debugging information is required before C source level or symbolic debugging can be
performed with the Debugger db33.
Make sure the debugging information is created by only specifying the -g option, and not by
any other method. Also, be sure not to correct the debugging information that is output.
Corrections could cause the as33, lk33, db33 or dis33 to malfunction.
Unless the -g option is specified in the lk33 even though it may be specified in the gcc33 (same
applies for pp33), all debugging information will be cut when linking.
Unless the -g option is specified in the as33 even though it may be specified in the gcc33, all
symbol information will be cut. The source information is not cut.
If the -g option is specified in the as33 without specifying it in the gcc33, symbol names and
address-only symbol information are added during assembly.
<sym>
<expr1>
<expr2>
<expr3>
Symbol name in the C source (variable name/member name)
Automatic variable/argument (stack): Offset from the stack pointer (decimal)
Automatic variable/argument (register): Register number (decimal)
Structure or union member: Offset from the beginning of structure or union (decimal)
enum-type member: Value indicating a member (decimal)
Storage class of <sym> (decimal)
Data type of <sym> (hex)
EPSON
(C COMPILER PACKAGE FOR S1C33 FAMILY) (Ver. 4)
S5U1C33000C MANUAL

Related parts for s5u1c33000c