From: Nick Roberts <nickrob@snap.net.nz>
To: "Francis Moreau" <francis.moro@gmail.com>
Cc: gnu-emacs-help@gnu.org
Subject: Re: Emacs doesn't show source file when debugging with GDB
Date: Fri, 16 May 2008 22:09:01 +1200 [thread overview]
Message-ID: <18477.23869.368208.14373@kahikatea.snap.net.nz> (raw)
In-Reply-To: <38b2ab8a0805160301q2aa7676bx5efaa804e87f6118@mail.gmail.com>
> > 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.
But you also say:
After I added it, I now have this in emacs when it tries to show the source
code:
error in process filter: Phase error in gdb-pre-prompt (got pre-emacs)
which looks like Gdb is doing soething. Perhaps it's reading your
my_gdbinit file and the error message is getting lost somewhere.
--
Nick http://www.inet.net.nz/~nickrob
next prev parent reply other threads:[~2008-05-16 10:09 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-15 9:58 Emacs doesn't show source file when debugging with GDB Francis Moreau
2008-05-15 11:16 ` Nick Roberts
2008-05-15 12:00 ` Francis Moreau
2008-05-15 23:29 ` Nick Roberts
2008-05-16 9:22 ` Francis Moreau
2008-05-16 9:54 ` Nick Roberts
2008-05-16 10:01 ` Francis Moreau
2008-05-16 10:09 ` Nick Roberts [this message]
2008-05-16 10:28 ` Francis Moreau
2008-05-16 21:28 ` Nick Roberts
2008-05-19 7:47 ` Francis Moreau
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=18477.23869.368208.14373@kahikatea.snap.net.nz \
--to=nickrob@snap.net.nz \
--cc=francis.moro@gmail.com \
--cc=gnu-emacs-help@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.