Re: [PATCH]: Provide TUI fast key action with specific readline keymap

Eli Zaretskii
2002-08-26T05:28:10Z

On Mon, 26 Aug 2002, Stephane Carrez wrote:

> This patch improves the TUI mode by creating a specific readline keymap
> that can be installed to bind a single key to a gdb command. The fast key
> mode is entered when CTRL-X CTRL-O is entered. Then, the keys are bound
> as follows:
>
> c continue
> d down
> f finish
> n next
> r run
> s step
> u up
> v info locals
> w where
> x exit the fast key mode, go back to normal readline+gdb prompt
>
> Hitting a single key will execute the gdb command.
> Other keys temporarily switch the keymap to use the readline+gdb prompt
> so that a full gdb command can be entered. Once the command is entered (\n)
> the fast key mode is restored.

Please add something to gdb.texinfo to describe this feature.

TIA