From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Phillip Susi Newsgroups: gmane.emacs.bugs Subject: bug#10285: 23.3; Gud hangs terminal when not running gdb --annotate=3 Date: Mon, 12 Dec 2011 16:04:24 -0500 Message-ID: <4EE66C58.6000303@cfl.rr.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1323724030 6794 80.91.229.12 (12 Dec 2011 21:07:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 12 Dec 2011 21:07:10 +0000 (UTC) To: 10285@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 12 22:07:06 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RaD5V-0000Dj-Rs for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Dec 2011 22:07:05 +0100 Original-Received: from localhost ([::1]:37090 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RaD5V-0006hk-BN for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Dec 2011 16:07:05 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:40322) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RaD3J-0005F0-Ah for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2011 16:04:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RaD3I-00034M-C0 for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2011 16:04:49 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34800) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RaD3I-00034I-83 for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2011 16:04:48 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RaD4U-0003p9-7O for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2011 16:06:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Phillip Susi Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Dec 2011 21:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 10285 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.132372394814676 (code B ref -1); Mon, 12 Dec 2011 21:06:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 Dec 2011 21:05:48 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RaD4F-0003oe-M8 for submit@debbugs.gnu.org; Mon, 12 Dec 2011 16:05:48 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RaD4D-0003oY-VL for submit@debbugs.gnu.org; Mon, 12 Dec 2011 16:05:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RaD31-00032T-1r for submit@debbugs.gnu.org; Mon, 12 Dec 2011 16:04:31 -0500 Original-Received: from lists.gnu.org ([140.186.70.17]:53802) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RaD31-00032P-0K for submit@debbugs.gnu.org; Mon, 12 Dec 2011 16:04:31 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:40246) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RaD30-0004g8-1U for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2011 16:04:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RaD2x-00031i-SL for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2011 16:04:29 -0500 Original-Received: from cdptpa-omtalb.mail.rr.com ([75.180.132.120]:23103) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RaD2x-00030l-Oh for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2011 16:04:27 -0500 X-Authority-Analysis: v=2.0 cv=RPYx7ve+ c=1 sm=0 a=/DbS/tiKggfTkRRHPZEB4g==:17 a=zQGhUK9Iw4MA:10 a=2fwZcE-CYnQA:10 a=8nJEP1OIZ-IA:10 a=6IiBOVykQrQKd4HTg9YA:9 a=wPNLvfGTeEIA:10 a=/DbS/tiKggfTkRRHPZEB4g==:117 X-Cloudmark-Score: 0 X-Originating-IP: 67.78.168.186 Original-Received: from [67.78.168.186] ([67.78.168.186:55729] helo=[10.1.1.230]) by cdptpa-oedge01.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id 4B/68-15357-85C66EE4; Mon, 12 Dec 2011 21:04:24 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:8.0) Gecko/20111105 Thunderbird/8.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 12 Dec 2011 16:06:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-Mailman-Approved-At: Mon, 12 Dec 2011 16:07:01 -0500 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:54908 Archived-At: Ever since upgrading to emacs23 I have been unable to run gdb with sudo under emacs gud mode ( it never gets my password ). I have recently studied the issue in depth and found that the problem is more broad than sudo. When starting gud mode with M-x gdb, it prompts you for what to run, and if you don't run gdb --annotate=3, then gud mode hangs and nothing you type is sent to the inferior process. It seems --annotate=3 generates some magic output that gud mode is waiting on and until it sees it, will not forward anything you type to the inferior process.