gdb.info: Commands For Moving

Go forward to Commands For History
Go up to Bindable Readline Commands
Go to the top op gdb

Commands For Moving

`beginning-of-line (C-a)'
     Move to the start of the current line.
`end-of-line (C-e)'
     Move to the end of the line.
`forward-char (C-f)'
     Move forward a character.
`backward-char (C-b)'
     Move back a character.
`forward-word (M-f)'
     Move forward to the end of the next word.  Words are composed of
     letters and digits.
`backward-word (M-b)'
     Move back to the start of the current or previous word.  Words are
     composed of letters and digits.
`clear-screen (C-l)'
     Clear the screen and redraw the current line, leaving the current
     line at the top of the screen.
`redraw-current-line ()'
     Refresh the current line.  By default, this is unbound.