From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dylan Newsgroups: gmane.emacs.help Subject: gdb hangs in Emacs 23.2.1 (Mac OSX 10.6.3) Date: Fri, 4 Feb 2011 13:37:59 -0800 (PST) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1296887146 29453 80.91.229.12 (5 Feb 2011 06:25:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 5 Feb 2011 06:25:46 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Feb 05 07:25:42 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PlbaW-0005wM-Mi for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Feb 2011 07:25:40 +0100 Original-Received: from localhost ([127.0.0.1]:37338 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PlbaW-000249-1q for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Feb 2011 01:25:40 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!m27g2000prj.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-NNTP-Posting-Host: 24.21.176.10 Original-X-Trace: posting.google.com 1296855479 12694 127.0.0.1 (4 Feb 2011 21:37:59 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 4 Feb 2011 21:37:59 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: m27g2000prj.googlegroups.com; posting-host=24.21.176.10; posting-account=tcr1oQoAAACn-Lg8dtrx6GwQKqxpY1_K User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.84 Safari/534.13, gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:184809 X-Mailman-Approved-At: Sat, 05 Feb 2011 01:18:15 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:78970 Archived-At: I cannot get gdb to work under Emacs 23.2.1 (neither in the GNU command line version or Cocoa Emacs). Each time I run gdb under emacs and then execute a command with 'RETURN', the prompt just sits there. The version of gdb that is being executed under emacs is: 6.3.50-20050815 (Apple version gdb-1344). So I figured I would try the latest version of gdb (7.1) as a workaround, and installed it successfully via MacPorts. But am unable to get emacs to recognize the executable file (fsf-gdb). I suspect there is something wrong with my code/I am using the wrong commands. I put the following in my .emacs, none of which worked (emacs doesn't recognize fsf-gdb after M-x) : (setq exec-path (append exec-path '("/opt/local/bin/fsf- gdb"))) (add-to-list 'load-path "opt/local/share/gdb/syscalls") (require 'fsf-gdb) What am I missing here? And why might the Apple's version of gdb hang in emacs (it works just fine in terminal)? Thanks