On Thu, Nov 14, 2019 at 09:45:28AM +0300, Konstantin Kharlamov wrote:
> On Ср, ноя 13, 2019 at 15:23, Jason Merrill <ja...@redhat.com> 
> wrote:
> >On Wed, Nov 13, 2019 at 6:39 AM Segher Boessenkool 
> ><seg...@kernel.crashing.org> wrote:
> >> There are users.  There are users who have been used to this 
> >>behaviour
> >> for many many many years.
> >>
> >> People just do (say I have an "rtx insn"):
> >>   p insn
> >>   pr
> >
> >Indeed.  I use this constantly.
> 
> Thanks everyone for answers. No, you don't have to type parentheses. 
> Gdb has it like in Haskell, i.e. arguments are separated by just 
> whitespace. So you type `pr insn`
> 
> You know what, I came up with an alternative solution that won't break 
> anyone's workflow neither confuse newbies: I can add a check for number 
> of arguments, and to branch on that to use either $ or $arg0.

That sounds great!  Thank you :-)


Segher

Reply via email to