all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
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 11:29:45 +1200	[thread overview]
Message-ID: <18476.51049.725175.547769@kahikatea.snap.net.nz> (raw)
In-Reply-To: <38b2ab8a0805150500k109e82ebsc336ef0505e6ab88@mail.gmail.com>

 > nope. It's a custom line that call a script which in turn initialize some
 > devices before launching gdb. But --annotate option is missing anyways.
 > 
 > 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)
 > 
 > Do you know what's wrong now ?

I can only guess as you don't say which version you are using or what your
script does.  ISTR that in Gdb didn't work in Emacs 22.1 if there was a Gdb
command that started execution in the .gdbinit file (or I guess with the -x
option).  This was fixed in Emacs 22.2


 > > If you remove the --annotate=3 option, Emacs will behave as you describe.
 > 
 > Well it worked before though.

Before what? i.e. with which version of Emacs?  How did it work?  In graphical
mode with breakpoint icons, stack, locals buffers etc or just text mode
with the GUD buffer?

-- 
Nick                                           http://www.inet.net.nz/~nickrob




  reply	other threads:[~2008-05-15 23:29 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 [this message]
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
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=18476.51049.725175.547769@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.