from gdb.texinfo on 11 July 1994 -->
Debugging with GDB - Commands For History
Go to the previous, next section.
accept-line (Newline, Return)
- 
Accept the line regardless of where the cursor is.  If this line is
non-empty, add it to the history list.  If this line was a history
line, then restore the history line to its original state.
 previous-history (C-p)
- 
Move `up' through the history list.
 next-history (C-n)
- 
Move `down' through the history list.
 beginning-of-history (M-<)
- 
Move to the first line in the history.
 end-of-history (M->)
- 
Move to the end of the input history, i.e., the line you are entering!
 reverse-search-history (C-r)
- 
Search backward starting at the current line and moving `up' through
the history as necessary.  This is an incremental search.
 forward-search-history (C-s)
- 
Search forward starting at the current line and moving `down' through
the the history as necessary.
 
Go to the previous, next section.