Subject: Re: bug#65612: gdb-mi non-stop mode can not set breakpoints when `gud-running' is t

From: Eli Zaretskii <[email-masked]>
Date: Thu, 31 Aug 2023 13:13:11 +0300

> From: Diancheng Wang <[email-masked]>
> Date: Wed, 30 Aug 2023 10:15:01 +0800
> 
> When gdb-mi is running in non-stop mode (both `gud-running' and
> `gdb-non-stop' are t), it can not set breakpoints using `gud-break'
> function. But at the same situation, we can set breakpoints using gdb
> CLI commands in gdb interactive buffer.
> 
> Attached patch fixed this bug. The patch introduces a gud new variable:
> `gud-async-running'.  The marco `gud-def' still sends command to gdb if
> `gud-async-running' is t even `gud-running' is t.

Thanks, installed on the master branch and closing the bug.