From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Baoqiu Cui Newsgroups: gmane.emacs.bugs Subject: bug#3585: gdb not responding on Emacs from CVS Date: Tue, 16 Jun 2009 10:00:01 -0700 Organization: at&t http://my.att.net/ Message-ID: References: Reply-To: Baoqiu Cui , 3585@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1245172853 606 80.91.229.12 (16 Jun 2009 17:20:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Jun 2009 17:20:53 +0000 (UTC) To: gnu-emacs-bug@moderators.isc.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 16 19:20:49 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MGcKw-0007vO-IU for geb-bug-gnu-emacs@m.gmane.org; Tue, 16 Jun 2009 19:20:43 +0200 Original-Received: from localhost ([127.0.0.1]:51957 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MGcKv-0007JH-M0 for geb-bug-gnu-emacs@m.gmane.org; Tue, 16 Jun 2009 13:20:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MGcHp-0005cH-1j for bug-gnu-emacs@gnu.org; Tue, 16 Jun 2009 13:17:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MGcHj-0005aH-Ri for bug-gnu-emacs@gnu.org; Tue, 16 Jun 2009 13:17:28 -0400 Original-Received: from [199.232.76.173] (port=47628 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MGcHj-0005aA-HN for bug-gnu-emacs@gnu.org; Tue, 16 Jun 2009 13:17:23 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:46168) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MGcHj-0003zv-3S for bug-gnu-emacs@gnu.org; Tue, 16 Jun 2009 13:17:23 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5GHHKdL028998; Tue, 16 Jun 2009 10:17:21 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n5GH55i8026217; Tue, 16 Jun 2009 10:05:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Baoqiu Cui Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 16 Jun 2009 17:05:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3585 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.124517163025459 (code B ref -1); Tue, 16 Jun 2009 17:05:05 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 16 Jun 2009 17:00:30 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5GH0MNJ025365 for ; Tue, 16 Jun 2009 10:00:23 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MGc1F-0007j2-Qi for bug-gnu-emacs@gnu.org; Tue, 16 Jun 2009 13:00:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MGc1A-0007ik-SI for bug-gnu-emacs@gnu.org; Tue, 16 Jun 2009 13:00:21 -0400 Original-Received: from [199.232.76.173] (port=41726 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MGc1A-0007ih-Mf for bug-gnu-emacs@gnu.org; Tue, 16 Jun 2009 13:00:16 -0400 Original-Received: from pinatubo-2.switch.ch ([130.59.1.10]:36412 helo=pinatubo.switch.ch) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MGc1A-00011h-0S for bug-gnu-emacs@gnu.org; Tue, 16 Jun 2009 13:00:16 -0400 Original-Received: from [216.82.253.179] (helo=mail167.messagelabs.com) by pinatubo.switch.ch with esmtp (Exim 4.63) (envelope-from ) id 1MGc17-0003U5-Li for gnu-emacs-bug@moderators.isc.org; Tue, 16 Jun 2009 19:00:14 +0200 X-VirusChecked: Checked X-Env-Sender: news@nlpi061.nbdc.sbc.com X-Msg-Ref: server-6.tower-167.messagelabs.com!1245171610!13386440!1 X-StarScan-Version: 6.0.0; banners=-,-,- X-Originating-IP: [144.160.20.53] Original-Received: (qmail 3877 invoked from network); 16 Jun 2009 17:00:11 -0000 Original-Received: from sbcsmtp6.sbc.com (HELO mlph073.enaf.sfdc.sbc.com) (144.160.20.53) by server-6.tower-167.messagelabs.com with DHE-RSA-AES256-SHA encrypted SMTP; 16 Jun 2009 17:00:11 -0000 Original-Received: from enaf.sfdc.sbc.com (localhost.localdomain [127.0.0.1]) by mlph073.enaf.sfdc.sbc.com (8.14.3/8.14.3) with ESMTP id n5GH09Ph020941 for ; Tue, 16 Jun 2009 13:00:10 -0400 Original-Received: from mlph070.sfdc.sbc.com (mlph070.sfdc.sbc.com [144.155.224.139]) by mlph073.enaf.sfdc.sbc.com (8.14.3/8.14.3) with ESMTP id n5GH05ho020509 for ; Tue, 16 Jun 2009 13:00:05 -0400 Original-Received: from sfdc.sbc.com (localhost.localdomain [127.0.0.1]) by mlph070.sfdc.sbc.com (8.14.0/8.14.0) with ESMTP id n5GH05qn020254 for ; Tue, 16 Jun 2009 13:00:05 -0400 Original-Received: from nlpi061.nbdc.sbc.com (nlpi061-int.nbdc.sbc.com [207.115.46.231]) by mlph070.sfdc.sbc.com (8.14.0/8.14.0) with ESMTP id n5GH01eA020086 for ; Tue, 16 Jun 2009 13:00:02 -0400 Original-Received: from nlpi061.nbdc.sbc.com (nlpi061.nbdc.sbc.com [127.0.0.1]) by nlpi061.nbdc.sbc.com (8.14.0/8.14.0) with ESMTP id n5GH01NE005763 for ; Tue, 16 Jun 2009 13:00:01 -0400 Original-Received: from localhost (localhost [[UNIX: localhost]]) by nlpi061.nbdc.sbc.com (8.14.0/8.14.0/Submit) id n5GH01dM005712; Tue, 16 Jun 2009 13:00:01 -0400 Original-Path: 508a9475!not-for-mail Original-Newsgroups: gnu.emacs.bug User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (darwin) Cancel-Lock: sha1:M2GMLrws6AZCnfw01HIt2DbWWQg= Original-Lines: 63 Original-NNTP-Posting-Host: 209.131.62.113 Original-X-Complaints-To: abuse@prodigy.net Original-X-Trace: nlpi061.nbdc.sbc.com 1245171601 ST000 209.131.62.113 (Tue, 16 Jun 2009 13:00:01 EDT) Original-NNTP-Posting-Date: Tue, 16 Jun 2009 13:00:01 EDT X-UserInfo1: TSUGG_KE@JTSP_@YMZJ\_Q\@TJ_ZTB\MV@BD]\YIJYWZUYICD^RAQBKZQTZTX\_I[^G_KGFNON[ZOE_AZNVO^\XGGNTCIRPIJH[@RQKBXLRZ@CD^HKANYVW@RLGEZEJN@\_WZJBNZYYKVIOR]T]MNMG_Z[YVWSCH_Q[GPC_A@CARQVXDSDA^M]@DRVUM@RBM X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Tue, 16 Jun 2009 13:17:28 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:28746 Archived-At: Thanks for looking into this, Nick. Please the info you need below: nickrob@snap.net.nz (Nick Roberts) writes: > Baoqiu Cui writes: > > Hi, > > > > I've had this problem for a while on Emacs built from CVS. Today I > > updated my Emacs directory and rebuilt everything, the problem still > > exists (GNU Emacs 23.0.94.1 (x86_64-unknown-linux-gnu, X toolkit)). > > > > Basically, after typing in ``M-x gdb'' to debug a program, say myprog, a > > buffer called *gud-myprog* will appear, and it displays some info about > > gdb and prints out a prompt: > > > > (gdb) _ > > > > Now, if I type in a command like "pwd" and press Enter, *nothing* > > happens. I have to press C-c C-c to get out: > > > > (gdb) pwd > > C-c C-cQuit > > (gdb) > > > > This does not happen on Emacs 22.3. > > > > Does anyone know what the problem is? > > I don't see this. What version of GDB do you have? > > Can you please do M-x gdb-enable-debug before M-x gdb and post the value of gdb-debug-log > after doing: > > (gdb) pwd After typing in ``pwd'', gdb-debug-log has the following value (from which you can see the GDB version that I use): ------------------------------------------------------------------------ gdb-debug-log is a variable defined in `gdb-ui.el'. Its value is ((recv . "(gdb) ") (recv . "Using host libthread_db library \"/lib64/tls/libthread_db.so.1\".\n") (recv . "License GPLv3+: GNU GPL version 3 or later \nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law. Type \"show copying\"\nand \"show warranty\" for details.\nThis GDB was configured as \"x86_64-unknown-linux-gnu\"...\n") (recv . "GNU gdb 6.7.1\nCopyright (C) 2007 Free Software Foundation, Inc.\n")) ------------------------------------------------------------------------ It seems that the Return key was ignored. After pressing C-c C-c, the value of gdb-debug-log becomes: ------------------------------------------------------------------------ gdb-debug-log is a variable defined in `gdb-ui.el'. Its value is ((recv . "(gdb) ") (recv . "Quit\n") (recv . "(gdb) ") (recv . "Using host libthread_db library \"/lib64/tls/libthread_db.so.1\".\n") (recv . "License GPLv3+: GNU GPL version 3 or later \nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law. Type \"show copying\"\nand \"show warranty\" for details.\nThis GDB was configured as \"x86_64-unknown-linux-gnu\"...\n") (recv . "GNU gdb 6.7.1\nCopyright (C) 2007 Free Software Foundation, Inc.\n")) ------------------------------------------------------------------------ Thanks, Baoqiu