bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#49632: [PATCH] Ensure that M-x gdb populates gud-repeat-map


From: Eli Zaretskii
Subject: bug#49632: [PATCH] Ensure that M-x gdb populates gud-repeat-map
Date: Mon, 19 Jul 2021 19:05:15 +0300

> Date: Mon, 19 Jul 2021 16:57:11 +0200 (CEST)
> From: Brian Leung <leungbk@mailfence.com>
> Cc: 49632@debbugs.gnu.org, juri@linkov.net
> 
> RET can repeat only the last command (afaik). If instead I want to run, in 
> order:
> 
> 1. continue
> 2. next
> 3. next
> 4. stepi
> 
> then without this patch, I would need to press
> 
> 1. C-x C-a C-r
> 2. C-x C-a C-n
> 3. C-x C-a C-n
> 4. C-x C-a C-i
> 
> if using M-x gdb.

I would instead use M-p (one or more times), then RET.  Isn't it
better, especially since it works when using GDB's own CLI prompt?

Or did you mean you want to invoke these commands in the program
source buffer, not in the GUD interaction buffer?  But in that case,
how do I exit the repeat-mode, to be able to edit the sources?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]