From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Francis Moreau Newsgroups: gmane.emacs.help Subject: Re: M-x gdb doesn't work anymore with Emacs 23.1.50.1 Date: Tue, 28 Jul 2009 07:45:58 -0700 (PDT) Organization: http://groups.google.com Message-ID: <975a633c-1f3f-48d1-a9de-6cfc930d539e@a13g2000yqc.googlegroups.com> References: <83c346d0-acef-442b-95ff-40474f877115@e27g2000yqm.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1248795734 8124 80.91.229.12 (28 Jul 2009 15:42:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Jul 2009 15:42:14 +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 Jul 28 17:42:08 2009 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.50) id 1MVooa-0006Ar-5V for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Jul 2009 17:42:08 +0200 Original-Received: from localhost ([127.0.0.1]:49499 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MVooZ-00034h-Hx for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Jul 2009 11:42:07 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!a13g2000yqc.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 30 Original-NNTP-Posting-Host: 93.2.234.124 Original-X-Trace: posting.google.com 1248792358 718 127.0.0.1 (28 Jul 2009 14:45:58 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 28 Jul 2009 14:45:58 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: a13g2000yqc.googlegroups.com; posting-host=93.2.234.124; posting-account=ekTE0goAAADiVCThPmo4ph0C5bTUhQOx User-Agent: G2/1.0 X-HTTP-Via: 1.1 grimoire.wyplay.int:3128 (squid/2.5.STABLE14) X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.10) Gecko/2009042708 Fedora/3.0.10-1.fc9 Firefox/3.0.10, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:171279 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:66465 Archived-At: On Jul 28, 10:52=A0am, nick...@snap.net.nz (Nick Roberts) wrote: > =A0> Now doing the same still in console mode, I get: "Cannot open load > =A0> file: gdb-ui". > > The file gdb-ui.el has been replaced by gdb-mi.el. =A0You've probably got > an old/inconsistent autoloads file (loaddefs.el). =A0Try rebuilding from > scratch with "make bootstrap". You were right ! But it still doesn't work: now when starting gdb and putting a breakpoint in a specific function like this: (gdb) b animation_stop Breakpoint 1 at 0x2985dcfe: file core.c, line 518. (gdb) list :1 No source file named . and the breakpoint seems to be not set since the program is never stopped. Of course doing the same in a terminal works, except I haven't passed the '-i=3Dmi' switch. One other thing I noticed, is that I have an alias on my gdb command: alias gdb=3D'gdb -x ~/.mygdbinit' but it looks like when emacs is starting gdb, it ignores the alias. Thanks