3.6.2
Setting Standard Input/Output
Character strings can be output to the GDB console window using input/output functions from within the program. Character strings
can be input using the dedicated input window.
This requires the settings given below.
•
To enable, remove the "#" characters for the lines in red text within the GDB command file.
Example: GDB command file[gdbmini3.ini]
# Please uncomment following commented out lines to enable STDOUT while debugging.
c17 stdout 1 WRITE_FLASH WRITE_BUF
# Please uncomment following commented out lines to enable STDIN while debugging.
c17 stdin 1 READ_FLASH READ_BUF
Note: Enabling this function occupies one hardware breakpoint.
S5U1C17001C Manual
(Rev. 1.0)
Seiko Epson Corporation
3 GNU17 IDE
3-18