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

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

bug#64914: [PATCH] * gdb-mi.el: allow disabling the gdb io buffer


From: LemonBreezes
Subject: bug#64914: [PATCH] * gdb-mi.el: allow disabling the gdb io buffer
Date: Fri, 28 Jul 2023 10:54:02 -0400
User-agent: Cyrus-JMAP/3.9.0-alpha0-592-ga9d4a09b4b-fm-defalarms-20230725.001-ga9d4a09b

No, setting gdb-display-io-nopopup to nil does not prevent the program IO from being split off into the gdb-inferior-io buffer, nor does it prevent the gdb-inferior-io buffer from popping up when debugging is started. The purpose of setting gdb-display-io-buffer to nil is to prevent the gdb-inferior-io buffer from being created altogether, instead outputting the program output to the GDB buffer itself. A user in the Doom Emacs Discord told me this used to be the behavior of gdb-mi.el but that it was changed without giving the user the option to opt out. I have not investigated that but the comments say that is a feature of GDB 6.4 onward.

On Fri, Jul 28, 2023, at 7:17 AM, Eli Zaretskii wrote:
> From: StrawberryTea <look@strawberrytea.xyz>
> Date: Thu, 27 Jul 2023 20:33:39 -0400

> This change allows the user to disable the `gdb-inferior-io' buffer.
> This is useful for users that prefer a more classical gdb experience
> where you just have the GDB window and the source window.

Sorry, I don't think I understand why you need a new defcustom.
Doesn't setting gdb-display-io-nopopup non-nil already achieve what
you want?  It does here.

Thanks.



reply via email to

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