[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 30b0b0e: Fix handling of abbreviated control comm
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] emacs-26 30b0b0e: Fix handling of abbreviated control command in gdb-mi.el |
Date: |
Mon, 10 Sep 2018 09:11:54 -0400 (EDT) |
branch: emacs-26
commit 30b0b0e2e20fe2b944aec4be816aab2cf489eb91
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
Fix handling of abbreviated control command in gdb-mi.el
* lisp/progmodes/gdb-mi.el (gdb-control-commands-regexp):
Support unambiguous abbreviations of commands. (Bug#32576)
---
lisp/progmodes/gdb-mi.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el
index 32d5ced..0506386 100644
--- a/lisp/progmodes/gdb-mi.el
+++ b/lisp/progmodes/gdb-mi.el
@@ -1782,9 +1782,10 @@ static char *magick[] = {
(defvar gdb-control-commands-regexp
(concat
"^\\("
- "commands\\|if\\|while\\|define\\|document\\|"
+ "comm\\(a\\(n\\(ds?\\)?\\)?\\)?\\|if\\|while"
+ "\\|def\\(i\\(ne?\\)?\\)?\\|doc\\(u\\(m\\(e\\(nt?\\)?\\)?\\)?\\)?\\|"
gdb-python-guile-commands-regexp
- "\\|while-stepping\\|stepping\\|ws\\|actions"
+ "\\|while-stepping\\|stepp\\(i\\(ng?\\)?\\)?\\|ws\\|actions"
"\\)\\([[:blank:]]+\\([^[:blank:]]*\\)\\)?$")
"Regexp matching GDB commands that enter a recursive reading loop.
As long as GDB is in the recursive reading loop, it does not expect
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-26 30b0b0e: Fix handling of abbreviated control command in gdb-mi.el,
Eli Zaretskii <=