Starting The Debugger; Startup Format; Startup Options - Epson S5U1C17001C Manual

Cmos 16-bit single chip microcomputer, c compiler package for s1c17 family
Hide thumbs Also See for S5U1C17001C:
Table of Contents

Advertisement

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>
Specifies a time interval at which to execute commands in a command file
Function:
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>
Changes the source file directory
Function:
Explanation: This option can be used to specify the directory containing the source files. Multiple instances of
this option can be specified.
--c17_euc
Displays the EUC code
Function:
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.
S5U1C17001C ManUal
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
EPSOn
10 DEBUggEr
10
Debugger
10-5

Advertisement

Table of Contents
loading

Table of Contents