Certain commands to gdb may produce large amounts of
information output to the screen. To help you read all of it,
gdb pauses and asks you for input at the end of each page of
output. Type
Normally gdb knows the size of the screen from the terminal driver software. For example, on Unix gdb uses the termcap data base together with the value of the TERM environment variable and the stty rows and stty cols settings. If this is not correct, you can override it with the set height and set width commands:
These set commands specify a screen height of lpp lines and a screen width of cpl characters. The associated show commands display the current settings.
If you specify a height of zero lines, gdb does not pause during output no matter how long the output is. This is useful if output is to a file or to an editor buffer.
Likewise, you can specify set width 0 to prevent gdb from wrapping its output.