From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2373 invoked by alias); 2 Feb 2004 22:09:55 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 2364 invoked from network); 2 Feb 2004 22:09:53 -0000 Received: from unknown (HELO nick.uklinux.net) (194.247.51.232) by sources.redhat.com with SMTP; 2 Feb 2004 22:09:53 -0000 Received: by nick.uklinux.net (Postfix, from userid 501) id 76E2175FDE; Mon, 2 Feb 2004 22:02:06 +0000 (GMT) From: Nick Roberts MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16414.51421.622553.831432@nick.uklinux.net> Date: Mon, 02 Feb 2004 22:09:00 -0000 To: Andrew Cagney Cc: gdb-patches@sources.redhat.com Subject: Re: RFA (?) Annotate Level 3 patch In-Reply-To: <4016A245.6030001@gnu.org> References: <16176.3560.65649.7079@nick.uklinux.net> <4016A245.6030001@gnu.org> X-SW-Source: 2004-02/txt/msg00043.txt.bz2 > Can you post a log with/with-out this patch to illustrate what's > happening. You're right - emacs should see "stopped" first but there > might be a better long-term way to do this. > > I suspect this will mean playing with the print-stop-reason code. Moving annotate_stopped to the start of normal_stop seems to do the right thing. It might be bad practice, however, to break existing functionality so a better solution might be to create a new annotation there - aargh! - called stopping, say, instead. However, remember that I will have reduced my initial set of 25 annotations to 14. They would be: pre-prompt prompt post-prompt commands overload-choice query prompt-for-continue source starting exited signalled signal stopped and stopping And, of course, from time to time, I'm trying to get GDB/MI to work directly with Emacs. BTW I have seen that Vim developers are starting to use level 2 annotations for their own front end to GDB. ( http://thread.gmane.org/gmane.editors.vim.devel/5024 ) Nick