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.
1 job for master in 4 minutes (queued for 13 seconds)
Status Job ID Name Coverage
  Normal
failed #76250
test-lisp-progmodes-inotify

00:04:00

 
Name Stage Failure
failed
test-lisp-progmodes-inotify Normal
Uploading artifacts for failed job
Uploading artifacts...
WARNING: test-lisp-progmodes-inotify-7e47d884/: no matching files. Ensure that the artifact path is relative to the working directory
ERROR: No files to upload
Uploading artifacts...
WARNING: test-lisp-progmodes-inotify-7e47d884/junit-test-report.xml: no matching files. Ensure that the artifact path is relative to the working directory
ERROR: No files to upload
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1