all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Markus Grunwald <markus.grunwald@gmx.de>
To: help-gnu-emacs@gnu.org
Subject: gud : Phase error in gdb-pre-prompt (got pre-emacs)
Date: 27 Jun 2008 08:52:24 GMT	[thread overview]
Message-ID: <4864aa47$0$7552$9b4e6d93@newsspool1.arcor-online.net> (raw)

Hello,

I'm not lucky with my switch from emacs21 to GNU Emacs 22.2.1
(i686-pc-linux-gnu, GTK+ Version 2.8.20): first emacs still hangs on
(next-buffer) (see earlier posting...), now gud is not working.

What I did:

>M-x gdb
>gdb --annotate=3 binary.bin

gdb loads the binary, I get the gdb prompt. Then:

Current directory is somewhere.
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc. [...]
This GDB was configured as "i686-pc-linux-gnu"... Using host libthread_db
library "/lib/tls/i686/cmov/libthread_db.so.1". 
(gdb) run
  C-c C-c  C-c C-c  C-c C-c

  C-c C-c
  C-c C-c  C-c C-c


After entering "run", I get no output from my program, it is not in "ps",
but the cpu is working 50% for about 20 seconds. I try to interrupt (C-c
C-c or via gud menu) but I only get the output in the buffer as seen
above. Gud won't react on anything I do, I can just close the buffer and
try it again.

Looking into the messages buffer, I see this:

Loading gdb-ui...done
error in process filter: gdb-pre-prompt: Phase error in gdb-pre-prompt
(got pre-emacs) error in process filter: Phase error in gdb-pre-prompt
(got pre-emacs)

It seems to work when I start gdb without binary and load it from gdb with
(gdb) file binary.bin
(gdb) run

Pure gdb works like a charm, of course.

This is not an environment I can work with. But I like some emacs22 very
much (e.g. the watch list in the speedbar or the red dots for breakpoints),
so I really hope you can help me with this...


Many TIA,

Markus


             reply	other threads:[~2008-06-27  8:52 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-27  8:52 Markus Grunwald [this message]
2008-06-27 10:18 ` gud : Phase error in gdb-pre-prompt (got pre-emacs) Nick Roberts
2008-06-30 11:37   ` Francis Moreau
2008-06-30 22:15     ` Nick Roberts
2008-07-01 14:07       ` Francis Moreau
2008-07-01 22:41         ` Nick Roberts
2008-07-07  7:59           ` Francis Moreau
2008-07-07  9:19             ` Nick Roberts
2008-07-15  7:49               ` Francis Moreau
2008-07-22 14:49               ` Francis Moreau
     [not found] ` <mailman.13892.1214569215.18990.help-gnu-emacs@gnu.org>
2008-06-27 14:23   ` Markus Grunwald
2008-06-27 23:49     ` Nick Roberts
2008-07-03  7:16       ` hui wang
2008-07-03  7:35         ` Nick Roberts
     [not found]     ` <mailman.13907.1214610613.18990.help-gnu-emacs@gnu.org>
2008-06-30 12:45       ` Markus Grunwald
2008-06-30 13:44         ` Francis Moreau
2008-07-01  2:04         ` Nick Roberts
     [not found]         ` <mailman.14044.1214879193.18990.help-gnu-emacs@gnu.org>
2008-07-02 14:18           ` Markus Grunwald
2008-07-03  0:22             ` Nick Roberts
     [not found]             ` <mailman.14136.1215044558.18990.help-gnu-emacs@gnu.org>
2008-07-03  7:51               ` Markus Grunwald

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='4864aa47$0$7552$9b4e6d93@newsspool1.arcor-online.net' \
    --to=markus.grunwald@gmx.de \
    --cc=help-gnu-emacs@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.