Name

echo

echo strings ...

Print strings. You may use the standard C escape sequences to generate nonprinting characters. In particular, you should use \n for newline. Note that unlike the shell-level echo command, GDB’s echo does not automatically supply a newline. You must explicitly request one if you want it.

Get GDB Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.