From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.help Subject: Re: gdb-ui & Mac OS X... Date: Mon, 23 Feb 2004 18:53:26 +0000 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <16442.19494.457936.404828@nick.uklinux.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1077563230 10451 80.91.224.253 (23 Feb 2004 19:07:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 23 Feb 2004 19:07:10 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 23 20:07:02 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AvLPy-0006ii-00 for ; Mon, 23 Feb 2004 20:07:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1AvLOE-0007LT-7h for geh-help-gnu-emacs@m.gmane.org; Mon, 23 Feb 2004 14:05:14 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1AvLN5-00070B-FR for help-gnu-emacs@gnu.org; Mon, 23 Feb 2004 14:04:03 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1AvLMY-0006oJ-74 for help-gnu-emacs@gnu.org; Mon, 23 Feb 2004 14:04:01 -0500 Original-Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1AvLMY-0006mQ-0k for help-gnu-emacs@gnu.org; Mon, 23 Feb 2004 14:03:30 -0500 Original-Received: from [194.247.51.184] (helo=nick.uklinux.net) by mx20.gnu.org with esmtp (Exim 4.30) id 1AvLLi-0000qk-EK for help-gnu-emacs@gnu.org; Mon, 23 Feb 2004 14:02:39 -0500 Original-Received: by nick.uklinux.net (Postfix, from userid 501) id 295CE75FDE; Mon, 23 Feb 2004 18:53:26 +0000 (GMT) Original-To: kencoleman@adsl-66-123-209-51.dsl.snfc21.pacbell.net X-Mailer: VM 6.97 under Emacs 21.2.1 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:17104 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:17104 > I've been trying to get gdb-ui working with the CVS version of emacs > under Mac OS X 10.3.2. There are a couple of issues I'm experiencing, > and was wondering if it's a setup problem on my end or a bug in > gdb-ui. Here's what I'm doing. > 1. I have a tiny test program in the active buffer, and I do M-x gdba. > 2. I run gdba (like this) with the default, which is "gdb -annotate=3 > a.out". Thats right, or you can just use M-x gdb with the current version in CVS. > 3. This gives me multiple errors into the *Messages* buffer. Namely: > 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) This shouldn't happen. Something has clearly gone wrong. It may be that your version of gdb isn't generating a full set of annotations. If you type "gdb -ann=3 a.out" in an xterm you should get something like: GNU gdb 5.2.1-2mdk (Mandrake Linux) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i586-mandrake-linux-gnu"... ^Z^Zbreakpoints-invalid ^Z^Zframes-invalid ^Z^Zpre-prompt (gdb) ^Z^Zprompt The ^Z characters might be printed differently but you need the pre-prompt and prompt annotations. What do you get? Please post any reply to me and cc to emacs-pretest-bug@gnu.org Nick http://www.nick.uklinux.net