From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Markus Grunwald Newsgroups: gmane.emacs.help Subject: gud : Phase error in gdb-pre-prompt (got pre-emacs) Date: 27 Jun 2008 08:52:24 GMT Organization: Arcor Message-ID: <4864aa47$0$7552$9b4e6d93@newsspool1.arcor-online.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1214559735 18001 80.91.229.12 (27 Jun 2008 09:42:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Jun 2008 09:42:15 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 27 11:43:01 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KCATk-0001sU-AX for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Jun 2008 11:42:53 +0200 Original-Received: from localhost ([127.0.0.1]:54481 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KCASt-0004dI-Be for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Jun 2008 05:41:59 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!news-xfer.nntp.sonic.net!newsfeed.straub-nv.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: pan 0.119 (Karma Hunters) Original-Lines: 52 Original-NNTP-Posting-Date: 27 Jun 2008 10:52:24 CEST Original-NNTP-Posting-Host: 21b83e03.newsspool1.arcor-online.net Original-X-Trace: DXC=b:?LZJ3=A94=FQB?mjjV50ic==]BZ:af>4Fo<]lROoR1<`=YMgDjhg2ID2a:Te4VU9bYo\:RoX4h4KS:Pf\:gCL0F@B>PS0^PC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:55111 Archived-At: 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