From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: gdb not working in emacs Date: Tue, 13 Jan 2015 18:17:06 +0200 Message-ID: <83lhl64pvh.fsf@gnu.org> References: <037ba154-c872-4f70-8f6c-2a5b203dde30@googlegroups.com> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1421165848 30320 80.91.229.3 (13 Jan 2015 16:17:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 Jan 2015 16:17:28 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 13 17:17:22 2015 Return-path: Envelope-to: geh-help-gnu-emacs@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 1YB49h-0007P6-L9 for geh-help-gnu-emacs@m.gmane.org; Tue, 13 Jan 2015 17:17:21 +0100 Original-Received: from localhost ([::1]:40009 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YB49h-0007zF-1t for geh-help-gnu-emacs@m.gmane.org; Tue, 13 Jan 2015 11:17:21 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58109) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YB49Q-0007z9-0B for help-gnu-emacs@gnu.org; Tue, 13 Jan 2015 11:17:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YB49K-00011e-D0 for help-gnu-emacs@gnu.org; Tue, 13 Jan 2015 11:17:03 -0500 Original-Received: from mtaout25.012.net.il ([80.179.55.181]:53745) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YB49K-00011D-4Z for help-gnu-emacs@gnu.org; Tue, 13 Jan 2015 11:16:58 -0500 Original-Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0NI400M00IAO4900@mtaout25.012.net.il> for help-gnu-emacs@gnu.org; Tue, 13 Jan 2015 18:12:59 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NI400LXFIDMBA00@mtaout25.012.net.il> for help-gnu-emacs@gnu.org; Tue, 13 Jan 2015 18:12:59 +0200 (IST) In-reply-to: <037ba154-c872-4f70-8f6c-2a5b203dde30@googlegroups.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.181 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:102050 Archived-At: > Date: Mon, 12 Jan 2015 20:05:00 -0800 (PST) > From: cplum984@gmail.com > Injection-Date: Tue, 13 Jan 2015 04:05:00 +0000 > > I've been using gdb within xemacs for 17 years without issues. Switch over to emacs and it just hangs. I do the usual "M-x gdb", get prompted for the app to debug, press return, and the gdb buffer pops right up. I get the normal gdb preamble and then the "(gdb)" prompt. Up until this point everything is just like with xeamcs. However, anything I type just hangs. Even "help". C-c C-c gets me out of it. This is on the same machine I use xemacs+gdb on. Any ideas/suggestions? I'm guessing your GDB is too old. Either upgrade, or invoke GDB with "M-x gud-gdb", which will use the old interface.