While using cgdb, how does one scroll through the output visible in the gdb window?
PgUp and PgDn should scroll the gdb window. If they don't, check your TERM environment variable and make sure it's set correctly.
TERM