[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#64590: Patch: fix gud-go in gdb-mi.el
From: |
Wang Diancheng |
Subject: |
bug#64590: Patch: fix gud-go in gdb-mi.el |
Date: |
Fri, 14 Jul 2023 11:06:32 +0800 |
Eli Zaretskii <eliz@gnu.org> 于2023年7月13日周四 16:58写道:
>
> > From: Wang Diancheng <dianchengwang@gmail.com>
> > Date: Thu, 13 Jul 2023 12:40:58 +0800
> >
> > document of gud-go says "Start or continue execution. Use a prefix to
> > specify arguments." but it always prompts for program arguments
> > regardless of whether "C-u" is pressed because arg is numeric prefix
> > here.
>
> Right, gud-def specifies '(interactive "p")'.
>
> > The attachment is a patch to change gud-go just prompts if
> > prefix is not 1.
>
> This will have the subtlety that "C-u 1 C-v" will fail to ask for
> program arguments. Shouldn't we instead look at current-prefix-arg?
>
Thanks.
Yes, I think it's a good idea. the patch is updated as that.
> Thanks.
gud-go-v2.patch
Description: Text Data