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: Ruslan Kabatsayev <b7 dot 10110111 at gmail dot com>
- To: Eli Zaretskii <eliz at gnu dot org>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 13 Jul 2017 21:19:10 +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> <83vamwgwf5.fsf@gnu.org>
On 13/07/17 18:59, Eli Zaretskii wrote:
>> 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.
gdb/ChangeLog:
* tui/tui.c (tui_commands): Add "nexti" and "stepi" to the tui_commands list
* doc/gdb.texinfo (TUI Single Key Mode): Document the new shortcuts in
Single-Key mode
>
> Thanks.
>