How to disable "Type <return> to continue, or q <return> to quit" in gdb?

Solution 1:

Disable pagination: set pagination off

Source: https://sourceware.org/gdb/onlinedocs/gdb/Screen-Size.html