From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19730 invoked by alias); 2 May 2008 09:57:41 -0000 Received: (qmail 19722 invoked by uid 22791); 2 May 2008 09:57:40 -0000 X-Spam-Check-By: sourceware.org Received: from mtaout6.012.net.il (HELO mtaout6.012.net.il) (84.95.2.16) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 02 May 2008 09:57:10 +0000 Received: from HOME-C4E4A596F7 ([84.229.228.217]) by i-mtaout6.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0K0800FG3KB4LYM2@i-mtaout6.012.net.il> for gdb-patches@sources.redhat.com; Fri, 02 May 2008 13:11:28 +0300 (IDT) Date: Fri, 02 May 2008 09:57:00 -0000 From: Eli Zaretskii Subject: Re: [RFA] Implement *running. In-reply-to: <200805011735.52447.vladimir@codesourcery.com> X-012-Sender: halo1@inter.net.il To: Vladimir Prus Cc: gdb-patches@sources.redhat.com Reply-to: Eli Zaretskii Message-id: References: <200805011735.52447.vladimir@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-05/txt/msg00061.txt.bz2 > From: Vladimir Prus > Date: Thu, 1 May 2008 16:35:52 +0300 > > > As previously discussed, we need a new async notification for MI -- > "*running", that is output whenever any thread, or entire program is > resumed. We have "^running" but this one is a response to a command, > and therefore can be emitted only once. > > This patch introduces new observer, makes that observer called, and > make MI connect to that observer. In the case of MT programs, or > targets where main thread is always added to the thread table, we > just use a flag inside thread_info. For the case of target where main > thread of ST program is not added to the table, we just use the global > flag. (I could not test on any such target). > > This has no regressions in default and async modes on x86. OK? Do we need to document it?