From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22641 invoked by alias); 10 Jun 2008 04:25:47 -0000 Received: (qmail 22626 invoked by uid 22791); 10 Jun 2008 04:25:45 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 10 Jun 2008 04:25:27 +0000 Received: (qmail 3724 invoked from network); 10 Jun 2008 04:25:25 -0000 Received: from unknown (HELO orlando.local) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 10 Jun 2008 04:25:25 -0000 From: Pedro Alves To: gdb-patches@sourceware.org Subject: Re: [PATCH:MI] Event notification Date: Tue, 10 Jun 2008 07:02:00 -0000 User-Agent: KMail/1.9.9 Cc: Nick Roberts , Daniel Jacobowitz References: <18439.56134.456709.118980@kahikatea.snap.net.nz> <20080610022945.GA27459@caradoc.them.org> <18509.60583.390202.377448@kahikatea.snap.net.nz> In-Reply-To: <18509.60583.390202.377448@kahikatea.snap.net.nz> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200806100525.25937.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-06/txt/msg00190.txt.bz2 A Tuesday 10 June 2008 03:53:27, Nick Roberts wrote: > Perhaps the answer then is to put notification explicitly in each CLI and > MI command (as I've proposed for thread_command and mi_cmd_thread_select). I'm working on a patch that's needed for non-stop that splits the notion of user/frontend selected thread and frame, from the internally selected thread and frame. With it in place, it should be easy to place an observer call in the function called to record the current thread and frame. -- Pedro Alves