GNU bug report logs -
#56810
29.0.50; 'set target-async' is deprecated in M-x gdb and more
Previous Next
To reply to this bug, email your comments to 56810 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#56810
; Package
emacs
.
(Thu, 28 Jul 2022 07:01:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Zhiwei Chen <condy0919 <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Thu, 28 Jul 2022 07:01:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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.
Another bug is the latest gdb supports debuginfod, which allows users
download debuginfo from an http server. When the environment variable
'DEBUGINFO_URLS' is set, let gdb run in terminal, it will prompt
This GDB supports auto-downloading debuginfo from the following URLs:
https://debuginfod.archlinux.org
Enable debuginfod for this session? (y or [n])
But M-x gdb will unconditionally type 'y' for us
Debuginfod has been enabled.
To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit.
The only workaround is
echo 'set debuginfod enabled off' >> ~/.gdbinit
It's inconvenient. IMHO, M-x gdb should handle this case.
[1]: https://lists.gnu.org/archive/html/info-gnu/2014-07/msg00015.html
--
Zhiwei Chen
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#56810
; Package
emacs
.
(Thu, 28 Jul 2022 08:38:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 56810 <at> debbugs.gnu.org (full text, mbox):
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?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#56810
; Package
emacs
.
(Thu, 28 Jul 2022 09:23:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 56810 <at> debbugs.gnu.org (full text, mbox):
> Cc: 56810 <at> debbugs.gnu.org
> Date: Thu, 28 Jul 2022 16:36:56 +0800
> From: Po Lu via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
>
> I can't seem to figure out how to get the GDB version using a GDB-MI
> command. Any ideas?
You want -gdb-version, I believe.
Severity set to 'minor' from 'normal'
Request was from
Stefan Kangas <stefan <at> marxist.se>
to
control <at> debbugs.gnu.org
.
(Thu, 04 Aug 2022 13:59:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 10 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.