This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]