This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PING][PATCH] Add shortcuts for "nexti" and "stepi" commands in Single-Key mode
- From: John Baldwin <jhb at freebsd dot org>
- To: gdb-patches at sourceware dot org
- Cc: Simon Marchi <simon dot marchi at polymtl dot ca>, Ruslan Kabatsayev <b7 dot 10110111 at gmail dot com>
- Date: Fri, 04 Aug 2017 11:31:32 -0700
- Subject: Re: [PING][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> <CAHEcG95BWOsOtnVEyfsV3=WNqCb90nKYbbt9CC085xaM8v4c3g@mail.gmail.com> <2085ccb4878f1acccefb8aa2312f7c34@polymtl.ca>
On Friday, August 04, 2017 03:29:01 PM Simon Marchi wrote:
> On 2017-08-04 07:48, Ruslan Kabatsayev wrote:
> > Hello,
> >
> > After using these shortcuts for some time I found that they are still
> > not best: one has to hold Shift in order to continuously step in
> > instruction mode. Would it be better to e.g. replace N->m, S->z? I
> > think we can basically use any non-occupied shortcuts here, they just
> > should be convenient, not necessarily be associated with "long"
> > version of the commands.
> >
> > Regards,
> > Ruslan
>
> Ok, I understand how having to hold shift may not be so practical.
>
> It would be nice if there was a pattern that made it easy to
> remember/deduce the keys for stepi/nexti from the keys for step/next,
> which are more obvious. For example, if we used 'a' for stepi and 'b'
> for nexti, the "instruction" versions of the keys would both be at the
> left of their "non-instruction" counterpart. That's with a
> QWERTY-centric view though, maybe it doesn't make sense with other
> layouts.
I agree it should be something deducible like a/b or d/m.
--
John Baldwin