]> git.eshelyaron.com Git - emacs.git/commit
Fix broken gdb-control-commands-regexp (bug#66363)
authorMattias Engdegård <mattiase@acm.org>
Sun, 29 Oct 2023 16:16:35 +0000 (17:16 +0100)
committerMattias Engdegård <mattiase@acm.org>
Sun, 29 Oct 2023 16:16:35 +0000 (17:16 +0100)
commit7e47d88499f3296eb314a12f483292d9154307de
treee424235ecdfb2e33992be1c85d48a0a668c5a752
parentc71c949618dba7a371f94a8f0d1668e717c69fb2
Fix broken gdb-control-commands-regexp (bug#66363)

* lisp/progmodes/gdb-mi.el (gdb-python-guile-commands-regexp):
Remove, integrate into...
(gdb-control-commands-regexp): ...this.  Translate into rx.
Remove useless submatches which broke earlier attempts at using other
submatches.  Rewrite tail expression to avoid superlinear nested
repetition, eliminating a Relint complaint.
* lisp/progmodes/gdb-mi.el (gdb-send): Simplify use of the regexp
above, and use the correct submatch this time.  Remove unnecessary and
incorrect second regexp matching.
lisp/progmodes/gdb-mi.el