[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 <nickrob@snap.net.nz> 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
- Emacs doesn't show source file when debugging with GDB, Francis Moreau, 2008/05/15
- Re: Emacs doesn't show source file when debugging with GDB, Nick Roberts, 2008/05/15
- Re: Emacs doesn't show source file when debugging with GDB, Francis Moreau, 2008/05/15
- Re: Emacs doesn't show source file when debugging with GDB, Nick Roberts, 2008/05/15
- Re: Emacs doesn't show source file when debugging with GDB, Francis Moreau, 2008/05/16
- Re: Emacs doesn't show source file when debugging with GDB, Nick Roberts, 2008/05/16
- Re: Emacs doesn't show source file when debugging with GDB,
Francis Moreau <=
- Re: Emacs doesn't show source file when debugging with GDB, Nick Roberts, 2008/05/16
- Re: Emacs doesn't show source file when debugging with GDB, Francis Moreau, 2008/05/16
- Re: Emacs doesn't show source file when debugging with GDB, Nick Roberts, 2008/05/16
- Re: Emacs doesn't show source file when debugging with GDB, Francis Moreau, 2008/05/19