This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Add shortcuts for "nexti" and "stepi" commands in Single-Key mode
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Ruslan Kabatsayev <b7 dot 10110111 at gmail dot com>
- Cc: gdb-patches at sourceware dot org, b7 dot 10110111 at gmail dot com
- Date: Thu, 13 Jul 2017 18:59:26 +0300
- Subject: Re: [PATCH] Add shortcuts for "nexti" and "stepi" commands in Single-Key mode
- Authentication-results: sourceware.org; auth=none
- References: <1499926070-13827-1-git-send-email-b7.10110111@gmail.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Ruslan Kabatsayev <b7.10110111@gmail.com>
> Cc: Ruslan Kabatsayev <b7.10110111@gmail.com>
> Date: Thu, 13 Jul 2017 09:07:50 +0300
>
> Currently, "layout asm" is not so useful as "layout src" with Single-Key mode:
> you have to use multi-key commands like "ni" and "si" to do single-stepping.
> This patch adds, in addition to "next" and "step" commands, corresponding
> assembly-level ones - "nexti" and "stepi" - to Single-Key mode, with the
> shortcuts of "N" and "S" respectively.
>
> gdb/ChangeLog:
>
> * tui/tui.c: Add "nexti" and "stepi" to the tui_commands list
> * doc/gdb.texinfo: Document the new shortcuts in Single-Key mode
This is fine with me, but please state in the ChangeLog the
functions/globals where you make the changes, and for gdb.texinfo
please state the name of the node (in parentheses). I think the
existing ChangeLog entries show how we do that.
Thanks.