Reference
Debugger gdb (1)
Development Tools
Outline
The
gdb
serves to perform source-level debugging by controlling an ICD. It also
comes with a simulating function that allows you to perform debugging on a
personal computer.
gdb.exe
supports Windows GUI. Commands that are used
frequently, such as break and step, are registered on the tool bar, minimizing the
necessary keyboard operations. Moreover, various data can be displayed in multi
windows, with resultant increased efficiency in the debugging tasks.
Flowchart
Start-up Command
gdb
<options>
Example:
gdb -x sample.cmd --cd=/cygdrive/c/EPSON/gnu17/sample
Command-line Options
--command=
<filename>
Specifies a command file
-x
<filename>
Specifies a command file
--c17_cmw=
<seconds>
Specifies the command execution intervals for command files
--cd=
<path>
Changes current directory
--directory=
<path>
Changes source file directory
--c17_euc
Displays the EUC code
--c17_double_starting
Enables double starting
Debugger
gdb
Embedded system simulator
ES-Sim17
file.elf
file.par
file.cmd
elf object file
Command
file
Stdin file
INI file
file.log
Command
log file
file.log
Trace
log file
file.log
Stdout file
break.gdb
Breakpoint
storage file
from Linker
ICD
Parameter file
file.sa
Motorola S3
HEX file
file.xxx
gdbtk.ini
loadbreak.gdb
Load break button
command file
savebreak.gdb
Save break button
command file
break.gdb
Breakpoint
storage file
User definition button
command file
userdefine.gdb
Reset definition
command file
reset.gdb
file.c
file.s
Source file(s)
watch.gdb
Storage file for symbols
registered in Watch Window
c17_profile.prf
Profile/coverage
data file
c17_profile_path.gdb
Profile/coverage
data path file
watch.gdb
Storage file for symbols
registered in Watch Window
c17_profile_path.gdb
Storage location file for
profile/coverage data files
c17_profile.prf
Profile/coverage data file
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 ...