bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#64186: Patch: Suppress deprecated '-gdb-set target-async' warning me


From: Wang Diancheng
Subject: bug#64186: Patch: Suppress deprecated '-gdb-set target-async' warning message in gdb-mi.el
Date: Tue, 20 Jun 2023 17:25:06 +0800

Po Lu <luangruo@yahoo.com> 于2023年6月20日周二 15:24写道:
>
> Wang Diancheng <dianchengwang@gmail.com> writes:
>
> > Hi,
> >
> > The command "-gdb-set target-async" is deprecated since gdb 7.7, It is
> > annoyed that there is a message "Warning: 'set target-async', an alias for
> > the command 'set mi-async', is deprecated. Use 'set mi-async'." when gdb
> > buffer is ready for command. Following is a patch to suppress that
> > warning.
> >
> > Thanks.
>
> What about versions of GDB earlier than 7.7?  We should detect them, and
> use `set mi-async' there.
>
Like other places of gdb-mi.el,  function gdb-set-mi-async-handler()
will use 'set target-async' if GDB (versions earlier than 7.7) reports
"No symbol".





reply via email to

[Prev in Thread] Current Thread [Next in Thread]