GNU bug report logs - #56810
29.0.50; 'set target-async' is deprecated in M-x gdb and more

Previous Next

Package: emacs;

Reported by: Zhiwei Chen <condy0919 <at> gmail.com>

Date: Thu, 28 Jul 2022 07:01:02 UTC

Severity: minor

Found in version 29.0.50

Full log


View this message in rfc822 format

From: Po Lu <luangruo <at> yahoo.com>
To: Zhiwei Chen <condy0919 <at> gmail.com>
Cc: 56810 <at> debbugs.gnu.org
Subject: bug#56810: 29.0.50; 'set target-async' is deprecated in M-x gdb and more
Date: Thu, 28 Jul 2022 16:36:56 +0800
Zhiwei Chen <condy0919 <at> gmail.com> writes:

> gcc a.cc -o a.out
>
> where a.cc is a hello world program.
>
>     emacs -Q
>     M-x gdb RET
>
> You will see such a warning:
>
> (gdb) Warning: 'set target-async', an alias for the command 'set mi-async', is deprecated.
> Use 'set mi-async'.
>
> The option mi-async was introduced in 2014 [1], so I thought using "set
> mi-async" is safe enough in wild.

GDB before 7.7 is still used in the wild, so I'd rather not break
support for those old versions.

I can't seem to figure out how to get the GDB version using a GDB-MI
command.  Any ideas?





This bug report was last modified 3 years and 12 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.