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: Francis Moreau
Subject: Re: Emacs doesn't show source file when debugging with GDB
Date: Fri, 16 May 2008 12:01:05 +0200

On Fri, May 16, 2008 at 11:54 AM, Nick Roberts <address@hidden> wrote:
>  > > 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.
>

As I said in my previous email, my_gdbinit isn't read by gdb when gdb is started
from emacs. It's only read when I start gdb from a shell, and in that case every
things works fine.

Thanks,
-- 
Francis




reply via email to

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