help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs doesn't show source file when debugging with GDB


From: Nick Roberts
Subject: Re: Emacs doesn't show source file when debugging with GDB
Date: Fri, 16 May 2008 21:54:13 +1200

 > > 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]