GNU bug report logs - #21777
25.0.50; gud-gdb uses a pager, which is harmful inside emacs

Previous Next

Package: emacs;

Reported by: Dima Kogan <dima <at> secretsauce.net>

Date: Wed, 28 Oct 2015 19:21:02 UTC

Severity: normal

Found in version 25.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 21777 <at> debbugs.gnu.org, schwab <at> linux-m68k.org, dima <at> secretsauce.net
Subject: bug#21777: 25.0.50; gud-gdb uses a pager, which is harmful inside emacs
Date: Thu, 24 Sep 2020 18:06:52 +0300
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Cc: dima <at> secretsauce.net,  21777 <at> debbugs.gnu.org,  schwab <at> linux-m68k.org
> Date: Thu, 24 Sep 2020 16:15:29 +0200
> 
> Anyway, set-process-window-size is indeed called in M-x gud-gdb
> buffers.  So does M-x gdb buffers...  but in that case, gdb just seems
> to ignore it, as it should.  So M-x gdb sets up gdb in a way that
> gud-gdb doesn't.

Yes, "M-x gdb" doesn't start Readline in GDB, and so GDB doesn't think
it runs with output to a terminal device.  "M-x gud-gdb", OTOH,
invokes GDB as an interactive program via PTY.




This bug report was last modified 4 years and 295 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.