all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Francis Moreau" <francis.moro@gmail.com>
To: "Nick Roberts" <nickrob@snap.net.nz>
Cc: gnu-emacs-help@gnu.org
Subject: Re: Emacs doesn't show source file when debugging with GDB
Date: Fri, 16 May 2008 12:01:05 +0200	[thread overview]
Message-ID: <38b2ab8a0805160301q2aa7676bx5efaa804e87f6118@mail.gmail.com> (raw)
In-Reply-To: <18477.22981.501369.802932@kahikatea.snap.net.nz>

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




  reply	other threads:[~2008-05-16 10:01 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 [this message]
2008-05-16 10:09             ` Nick Roberts
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=38b2ab8a0805160301q2aa7676bx5efaa804e87f6118@mail.gmail.com \
    --to=francis.moro@gmail.com \
    --cc=gnu-emacs-help@gnu.org \
    --cc=nickrob@snap.net.nz \
    /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.