From 6682e472e4efee5447c41b6e0e48a1d0070548d6 Mon Sep 17 00:00:00 2001 From: Gustaf Waldemarson Date: Wed, 18 Jan 2023 16:14:40 +0100 Subject: [PATCH] Convert gdb command `target-async' to `mi-async'. * lisp/progmodes/gdb-mi.el: Change deprecated gdb command `target-async' to `my-async'. Functions using the old name has also updated. --- lisp/progmodes/gdb-mi.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el index 060957eac29..35af9f60ffc 100644 --- a/lisp/progmodes/gdb-mi.el +++ b/lisp/progmodes/gdb-mi.el @@ -1143,10 +1143,10 @@ gdb-non-stop-handler (setq gdb-non-stop nil) (setq gdb-supports-non-stop nil)) (setq gdb-supports-non-stop t) - (gdb-input "-gdb-set target-async 1" 'ignore) - (gdb-input "-list-target-features" 'gdb-check-target-async))) + (gdb-input "-gdb-set mi-async on" 'ignore) + (gdb-input "-list-target-features" 'gdb-check-mi-async))) -(defun gdb-check-target-async () +(defun gdb-check-mi-async () (goto-char (point-min)) (unless (re-search-forward "async" nil t) (message -- 2.34.1