From: Ruslan Kabatsayev <b7.10110111@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH v2] Add shortcuts for "nexti" and "stepi" commands in Single-Key mode
Date: Sat, 05 Aug 2017 06:38:00 -0000 [thread overview]
Message-ID: <CAHEcG97FdLJpAprLd1pVoDyZ=iRZ7+V_ePDeEWcMF5b48txh9g@mail.gmail.com> (raw)
In-Reply-To: <83pocawmr7.fsf@gnu.org>
On 5 August 2017 at 09:29, Eli Zaretskii <eliz@gnu.org> wrote:
>> From: b7.10110111@gmail.com
>> Cc: Ruslan Kabatsayev <b7.10110111@gmail.com>
>> Date: Fri, 4 Aug 2017 22:27:18 +0300
>>
>> From: Ruslan Kabatsayev <b7.10110111@gmail.com>
>>
>> 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 "o" (from "step Over") and "i" (from "Step Into") respectively.
>
> The "i" in "nexti" and "ni" stands for "instruction", not "into".
Here I refer to the "i" the shortcut, not "i" in the "nexti" command.
We do need some way of memorizing the shortcut key, don't we? See the
discussion in the thread of the previous version of the patch. I may
have to make the wording clearer in the documentation though.
>
> Personally, I'm not sure this is worth it, but then I don't use TUI
> frequently enough to have my opinion count.
>
> If the code change is accepted, the documentation review is below.
>
>> 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
>
> The ChangeLog entries need to state the function/data structure in
> which the change is made (node name for the manual). Also,
> gdb.texinfo has a separate ChangeLog in gdb/doc/.
>
>> +@kindex o @r{(SingleKey TUI key)}
>> +@item o
>> +nexti. The letter @samp{o} stands for ``step Over''.
> ^^
> We leave two spaces between sentences.
>
> Thanks.
prev parent reply other threads:[~2017-08-05 6:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-04 19:28 b7.10110111
2017-08-05 6:29 ` Eli Zaretskii
2017-08-05 6:38 ` Ruslan Kabatsayev [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAHEcG97FdLJpAprLd1pVoDyZ=iRZ7+V_ePDeEWcMF5b48txh9g@mail.gmail.com' \
--to=b7.10110111@gmail.com \
--cc=eliz@gnu.org \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox