S5U1C17001C ManUal
EPSOn
10-5
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
10 DEBUggEr
10
Debugger
10.3 Starting the Debugger
10.3.1 Startup format
general command line format
gdb
[
<startup option>
]
The brackets [ ] denote that the specification can be omitted.
10.3.2 Startup Options
The debugger has seven available startup options. For more information on how to select in the
IDE
, refer to
Section 5.8.3, "Starting Up the Debugger."
--command=
<command filename>
-x
<command filename>
Function:
Specifies a command file
Explanation: When this option is specified, the debugger loads the specified command file at startup and
executes the commands written in the file.
--c17_cmw=
<wait in seconds>
Function:
Specifies a time interval at which to execute commands in a command file
Explanation: When the debugger executes a command file as specified by the
-x
or
--command
option or
source
command, this option inserts a wait time between each command by a specified duration
in seconds. The wait time can be specified from 1 to 256 seconds. If any other value is specified, a
1-second wait time is assumed.
--cd=
<directory path string>
Function:
Changes the current directory
Explanation: When this option is specified, the debugger sets the specified path for the current directory at
startup. If this option is omitted, the directory written in the
gdbtk.ini
file (or directory
containing
gdb.exe
, if
gdbtk.ini
not found) is assumed.
--directory=
<directory path string>
Function:
Changes the source file directory
Explanation: This option can be used to specify the directory containing the source files. Multiple instances of
this option can be specified.
--c17_euc
Function:
Displays the EUC code
Explanation: When this option is specified, the compiler assumes that kanji code is EUC when it displays code
in the source window.
By default, kanji code is assumed to be Shift JIS, and EUC codes are displayed as a blank.
--c17_double_starting
Function:
Enables double starting
Explanation: This option enables launching a second instance of the debugger in one PC that is disabled by
default.
When entering options on the command line, insert one or more spaces to delimit each option.
Example:
c:\EPSON\gnu17\gdb -x sample.cmd --cd=/cygdrive/d/test/sample
notes
:
•
An error message as shown below will be displayed if an unknown option is specified.
Error message:
· · ·
gdb : unrecognized option '
XXXXXX
'
•
A second instance of the debugger cannot be run in one PC by default.
Summary of Contents for S5U1C17001C
Page 6: ......
Page 17: ...1 General S5U1C17001C Manual 1 General ...
Page 18: ......
Page 21: ...1 2 Install S5U1C17001C Manual 2 Installation ...
Page 22: ......
Page 29: ...3 SoftDev S5U1C17001C Manual 3 Software Development Procedures ...
Page 30: ......
Page 103: ...4 SrcFiles S5U1C17001C Manual 4 Source files ...
Page 104: ......
Page 121: ...5 IDE S5U1C17001C Manual 5 gnU17 iDE ...
Page 122: ......
Page 365: ...6 Compiler S5U1C17001C Manual 6 C Compiler ...
Page 366: ......
Page 385: ...7 Library S5U1C17001C Manual 7 library ...
Page 386: ......
Page 405: ...8 Assemblr S5U1C17001C Manual 8 assembler ...
Page 406: ......
Page 439: ...9 Linker S5U1C17001C Manual 9 linker ...
Page 440: ......
Page 449: ...10 Debugger S5U1C17001C Manual 10 Debugger ...
Page 450: ......
Page 626: ...11 Tools S5U1C17001C Manual 11 Other Tools ...
Page 627: ......
Page 696: ...S1C17 Family C Compiler Package Quick Reference Reference ...