From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 98526 invoked by alias); 4 Aug 2017 05:48:28 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 86821 invoked by uid 89); 4 Aug 2017 05:48:06 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=focusing X-HELO: mail-lf0-f66.google.com Received: from mail-lf0-f66.google.com (HELO mail-lf0-f66.google.com) (209.85.215.66) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 04 Aug 2017 05:48:03 +0000 Received: by mail-lf0-f66.google.com with SMTP id o85so444533lff.1 for ; Thu, 03 Aug 2017 22:48:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=52P+uqNWeSE8wHzCbgmDnzvjuacU67+h7FlBYXdx0+c=; b=rBUQDdPBuIvH283SINzJGtXyt4yW4daK2REI8yPfQuCCGwSBeVOSae+H7LF89QrJnX OxWgeNMTkqT8umQAlBq5pVUPeWIu5dkfLBWm8ZoBdeZakcfslo3szGZeVbkRytZajSR8 6H8XUZMK0gfoRqNph+Sc6kS3ajDL3m5vOdQw/4KuDdASQoWYDxGtpy+mDDQvs+X1US0/ jhZ1qUapYZHPpJUJ8tNpaZ1pdg7xi/TI7FYiJ8CguhyuSWt1jyp6Oy9XYen62yL5rO8P 1tFTweYbYK4DnBeXYtSlH6c4tlH3K43A4ldvfmawH4qzxV7cLKo4kB1Ng2f16aybnMRv Dbpg== X-Gm-Message-State: AHYfb5goridR8jsrhTVCyVgcnyfRve99D2qMBmIH/15fTYPObnULOcDo U4UuctHESlboQM2b7n0xQe8LG6VBCg== X-Received: by 10.46.25.194 with SMTP id 63mr448311ljz.21.1501825681410; Thu, 03 Aug 2017 22:48:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.201.140 with HTTP; Thu, 3 Aug 2017 22:48:00 -0700 (PDT) In-Reply-To: References: <1499926070-13827-1-git-send-email-b7.10110111@gmail.com> <1be450ee-ea96-76a4-dbf9-81f15b2d4234@gmail.com> <7ee96675bc6f2307642fb638a9b65839@polymtl.ca> From: Ruslan Kabatsayev Date: Fri, 04 Aug 2017 05:48:00 -0000 Message-ID: Subject: Re: [PING][PATCH] Add shortcuts for "nexti" and "stepi" commands in Single-Key mode To: Simon Marchi Cc: gdb-patches@sourceware.org Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2017-08/txt/msg00061.txt.bz2 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 On 27 July 2017 at 12:25, Simon Marchi wrote: > On 2017-07-27 11:11, Ruslan Kabatsayev wrote: >>> >>> I was thinking that perhaps that when focusing... >>> >>> a source view: s/n do source line stepping, S/N do assembly stepping >>> an asm view: s/n do assembly stepping, S/N do source line stepping >>> >>> Basically, they would switch role. Is that too confusing? >> >> This might be OK, but what if current focus in on registers window? >> Disable all single-key stepping? > > > Indeed. And when the user is in the "Source + Asm + Prompt" configuration > and the prompt is focused, what would we do? That's perhaps a good idea in > theory, but it would need to be more thought through. > > You patch provides a predictable behavior across all modes, so I don't think > we can go wrong with that. > > Simon