]> git.eshelyaron.com Git - emacs.git/commit
Enable gdb-mi to set breakpoints when threads of debuggee are running
authorDiancheng Wang <diancheng@gmail.com>
Wed, 9 Aug 2023 02:35:12 +0000 (10:35 +0800)
committerEli Zaretskii <eliz@gnu.org>
Thu, 31 Aug 2023 10:07:25 +0000 (13:07 +0300)
commita180f700cbf1f15a17f9d3d33338368a99a7665b
treee6aa011dac69f24bf0086c4cff37aabf97cffae3
parentb69561e5a4ffcd5e0827b68a7b9da84b467ffcf1
Enable gdb-mi to set breakpoints when threads of debuggee are running

* lisp/progmodes/gdb-mi.el (gdb): Call 'gud-def' with 5th arg
non-nil for those commands that can be invoked asynchronously.
(gdb-starting): Set 'gud-async-running' non-nil for async commands.
* lisp/progmodes/gud.el (gud-async-running): New defvar.
(gud-menu-map): Enable some commands only if 'gud-async-running' is
non-nil.
(gud-def): Accept another optional argument ASYNC-OK.  (Bug#65612)
lisp/progmodes/gdb-mi.el
lisp/progmodes/gud.el