From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christian Schwarzgruber Newsgroups: gmane.emacs.devel Subject: [gdb(-mi)] Output of debugee not redirected to *input/output of ...* buffer when starting gdb via a script Date: Mon, 25 Jan 2016 20:26:31 +0100 Message-ID: <87bn89bguw.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1453752243 12475 80.91.229.3 (25 Jan 2016 20:04:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Jan 2016 20:04:03 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 25 21:04:02 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aNnMo-0008Rq-BG for ged-emacs-devel@m.gmane.org; Mon, 25 Jan 2016 21:04:02 +0100 Original-Received: from localhost ([::1]:40629 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNnMn-0007SK-Hf for ged-emacs-devel@m.gmane.org; Mon, 25 Jan 2016 15:04:01 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48627) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNmmh-0003Ac-FV for emacs-devel@gnu.org; Mon, 25 Jan 2016 14:26:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aNmmY-0006QS-Fd for emacs-devel@gnu.org; Mon, 25 Jan 2016 14:26:43 -0500 Original-Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]:38616) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNmmY-0006Q8-9S for emacs-devel@gnu.org; Mon, 25 Jan 2016 14:26:34 -0500 Original-Received: by mail-wm0-x22c.google.com with SMTP id b14so96750349wmb.1 for ; Mon, 25 Jan 2016 11:26:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=user-agent:from:to:subject:date:message-id:mime-version :content-type; bh=mLxP6iqQvHWeCC8tLEtwsxLBij69cLj25SjJevSzXYg=; b=W4RMdaqIVSB/j9y49Sr/i1IQSfGMENs1AmF7PbhcpdTq0Ues0BLPW45bs/oWGeQLRG OEu/ad/Ibi6bZabOYb7B9uwJ3wqL9o9Yy51Gt0sCBqFimsDWr+WmVN++NeI65UdHDgQb DEWF+0YLdgVDR/geICNWJubD6Doh6hAA7Df/FoINnmIbIVI2AslxamFgE+TuY0w3GsQi KSE/KNM9ww4B4ho84VX1e2ha18NK5tldNeNKfZz+Ds/C9m8lcHpsg8n9ybBq0br/sR+z /+DmLdmAKI9itHIsN0rh8ZL/Bo9fldk89RHlqtSmJwpXKyu0bxDGCuM18OXdjJrrKyLS HYTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version:content-type; bh=mLxP6iqQvHWeCC8tLEtwsxLBij69cLj25SjJevSzXYg=; b=KaPaVzP2fyqcnIcFa8fYwgqtYTcGcy8QYoSxpcpazgEJp29T3tQ9EGkk3FmxJyCefZ H7+LtNRO2CBAAqjvmsSrjeJUfXGlfT35WsJ0BUIsKjgkIrjqz3FN6SE6AGsr4EuhLfxf LI+aDhvyXMnJe/tWF/7EATNm/+g3Fr9ZZhUPC118EHNNAru6MmF52K5jUTKjJYFtIDSw uQ94lxScu0VjXcL7ubmoHhgaOtAA1e736qEJVgzvVyLTYNObb3+syigaTz0OVlYqjNGU mhHmfWVjo532RuRjCK9+kbZCqooRluWnwyR1hiZiXaUDP8l/zhha6KsSz35iW5d6BocL T5DA== X-Gm-Message-State: AG10YOTqdn9AOY1DrKsI2XwTr0ypWjJzQutPay//4fRN+MWdqQx0e/Ll74cKy8c/41Pf2A== X-Received: by 10.28.178.206 with SMTP id b197mr18938830wmf.72.1453749993307; Mon, 25 Jan 2016 11:26:33 -0800 (PST) Original-Received: from lap (84-113-190-229.dynamic.surfer.at. [84.113.190.229]) by smtp.gmail.com with ESMTPSA id k130sm179634wmg.6.2016.01.25.11.26.32 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Jan 2016 11:26:32 -0800 (PST) User-agent: mu4e 0.9.16; emacs 24.5.1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::22c X-Mailman-Approved-At: Mon, 25 Jan 2016 15:03:58 -0500 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:198808 Archived-At: Hello everybody, I have question about `gdb(-mi)' in emacs 24.5. I have written a bash debug wrapper script do choose between various front-ends and do some other stuff. When I do; M-x gdb RET; delete the default value; enter the script name along with the other optional parameters, and hit enter. Everything gets initialized successfully. Debugging the program works as well. Example: Run gdb (like this) dscript --cd=/path/to/the/executable executable ... However, the output of the debugee gets not redirected to the *input/output of ...* buffer. Does someone know what the cause could be. Or how to further triage this problem/(bug?). NOTE: (gdb) show inferior-tty shows the correct tty value, i.e. the tty of the *input/output of ...* buffer. Thank you for your help! -- Christian Schwarzgruber E: c.schwarzgruber.cs@gmail.com GPG key ID: C57AB673