From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.help Subject: Re: Emacs doesn't show source file when debugging with GDB Date: Fri, 16 May 2008 21:54:13 +1200 Message-ID: <18477.22981.501369.802932@kahikatea.snap.net.nz> References: <38b2ab8a0805150258l6c897a1ewd608926f73db2b0f@mail.gmail.com> <18476.7066.285885.346581@kahikatea.snap.net.nz> <38b2ab8a0805150500k109e82ebsc336ef0505e6ab88@mail.gmail.com> <18476.51049.725175.547769@kahikatea.snap.net.nz> <38b2ab8a0805160222q3ecab130h42de13edf6d7a63a@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1210932928 4484 80.91.229.12 (16 May 2008 10:15:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 May 2008 10:15:28 +0000 (UTC) Cc: gnu-emacs-help@gnu.org To: "Francis Moreau" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 16 12:16:03 2008 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 1Jwwyp-0007mL-3D for geh-help-gnu-emacs@m.gmane.org; Fri, 16 May 2008 12:16:03 +0200 Original-Received: from localhost ([127.0.0.1]:38782 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jwwy5-0005DH-GQ for geh-help-gnu-emacs@m.gmane.org; Fri, 16 May 2008 06:15:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jwwe8-0000kA-Vl for help-gnu-emacs@gnu.org; Fri, 16 May 2008 05:54:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jwwe3-0000hh-Rr for help-gnu-emacs@gnu.org; Fri, 16 May 2008 05:54:37 -0400 Original-Received: from [199.232.76.173] (port=48458 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jwwe1-0000gt-Hj for help-gnu-emacs@gnu.org; Fri, 16 May 2008 05:54:34 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:55681) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jwwe0-00059D-PC for help-gnu-emacs@gnu.org; Fri, 16 May 2008 05:54:32 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]:40798) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Jwwcx-0005vO-1u for gnu-emacs-help@gnu.org; Fri, 16 May 2008 05:53:27 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Jwwdw-00057J-BP for gnu-emacs-help@gnu.org; Fri, 16 May 2008 05:54:31 -0400 Original-Received: from viper.snap.net.nz ([202.37.101.25]:60061) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jwwdv-00056b-Pn for gnu-emacs-help@gnu.org; Fri, 16 May 2008 05:54:28 -0400 Original-Received: from kahikatea.snap.net.nz (142.63.255.123.dynamic.snap.net.nz [123.255.63.142]) by viper.snap.net.nz (Postfix) with ESMTP id 37D303DA00D; Fri, 16 May 2008 21:54:25 +1200 (NZST) Original-Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id 787208FC6D; Fri, 16 May 2008 21:54:14 +1200 (NZST) In-Reply-To: <38b2ab8a0805160222q3ecab130h42de13edf6d7a63a@mail.gmail.com> X-Mailer: VM 7.19 under Emacs 22.2.50.2 X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:54042 Archived-At: > > or what your script does. > > it just ends up to call gdb with a couple of parameters: > > gdb --nowindows --annotate=3 -x my_gdbinit a.out This works for me if I have a very simple my_gdbinit file. Does my_gdbinit start execution? It must fail somewhere there. Start with an empty file and gradually add Gdb commands. >... > > Before what? i.e. with which version of Emacs? > > Before upgrading my distrib. I was using Fedora 6 and has moved to Fedora 8. > > I don't recall my previous version of Emacs I was using. > > > How did it work? In graphical > > mode with breakpoint icons, stack, locals buffers etc or just text mode > > with the GUD buffer? > > The latter... You can get the old mode in 22.1 by replacing --annotate=3 with --fullname. -- Nick http://www.inet.net.nz/~nickrob