From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#40279: 26.3; Error: you did not specify -i=mi on GDB's command line! Date: Tue, 27 Oct 2020 22:20:44 +0200 Message-ID: <831rhje7z7.fsf@gnu.org> References: <87ft61134a.fsf@gnus.org> <87pn53zdkw.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25744"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 40279@debbugs.gnu.org To: William Xu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 27 21:21:09 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kXVSv-0006bQ-Qh for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 27 Oct 2020 21:21:09 +0100 Original-Received: from localhost ([::1]:42554 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kXVSu-0000je-Ru for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 27 Oct 2020 16:21:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33062) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kXVSo-0000jI-8B for bug-gnu-emacs@gnu.org; Tue, 27 Oct 2020 16:21:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34482) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kXVSn-0003zP-VJ for bug-gnu-emacs@gnu.org; Tue, 27 Oct 2020 16:21:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kXVSn-0006kf-RS for bug-gnu-emacs@gnu.org; Tue, 27 Oct 2020 16:21:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Oct 2020 20:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40279 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 40279-submit@debbugs.gnu.org id=B40279.160383005525934 (code B ref 40279); Tue, 27 Oct 2020 20:21:01 +0000 Original-Received: (at 40279) by debbugs.gnu.org; 27 Oct 2020 20:20:55 +0000 Original-Received: from localhost ([127.0.0.1]:46028 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXVSh-0006kE-By for submit@debbugs.gnu.org; Tue, 27 Oct 2020 16:20:55 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:32928) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXVSg-0006k1-4g for 40279@debbugs.gnu.org; Tue, 27 Oct 2020 16:20:54 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58085) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kXVSa-0003vo-TK; Tue, 27 Oct 2020 16:20:48 -0400 Original-Received: from [176.228.60.248] (port=1286 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kXVSa-0000xi-8E; Tue, 27 Oct 2020 16:20:48 -0400 In-Reply-To: (message from William Xu on Tue, 27 Oct 2020 21:04:55 +0100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:191785 Archived-At: > From: William Xu > Date: Tue, 27 Oct 2020 21:04:55 +0100 > > Lars Ingebrigtsen writes: > > > And as far as I can tell, gdb runs just fine without it, even on > > GNU/Linux? > > Without that, the gdb commands and program I/O are mixed together in the > same buffer, so "*input/output of...*" window in gdb-many-windows will > be empty. > > It is mostly useful if there is a lot of I/O from the program. It makes > it easier to inspect only the program I/O in that separated buffer. No, it's useful even if the program does only a small amount of I/O, because running GDB in the default mode on GNU/Linux lets you run the program in the non-stop mode, where GDB and the program run in parallel -- in that case if they both output stuff to the same file descriptor, you will get an illegible mess.