[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#65612: gdb-mi non-stop mode can not set breakpoints when `gud-runnin
From: |
Eli Zaretskii |
Subject: |
bug#65612: gdb-mi non-stop mode can not set breakpoints when `gud-running' is t |
Date: |
Thu, 31 Aug 2023 13:13:11 +0300 |
> From: Diancheng Wang <diancheng_wang@163.com>
> 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.