From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10475 invoked by alias); 31 Mar 2008 16:49:27 -0000 Received: (qmail 10467 invoked by uid 22791); 31 Mar 2008 16:49:27 -0000 X-Spam-Check-By: sourceware.org Received: from mail.windriver.com (HELO mail.wrs.com) (147.11.1.11) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 31 Mar 2008 16:49:05 +0000 Received: from ALA-MAIL03.corp.ad.wrs.com (ala-mail03 [147.11.57.144]) by mail.wrs.com (8.13.6/8.13.6) with ESMTP id m2VGn3sp027415 for ; Mon, 31 Mar 2008 09:49:03 -0700 (PDT) Received: from ala-mail06.corp.ad.wrs.com ([147.11.57.147]) by ALA-MAIL03.corp.ad.wrs.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 31 Mar 2008 09:49:03 -0700 Received: from [147.11.233.28] ([147.11.233.28]) by ala-mail06.corp.ad.wrs.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 31 Mar 2008 09:49:03 -0700 Message-ID: <47F115EA.1060101@windriver.com> Date: Mon, 31 Mar 2008 17:39:00 -0000 From: Pawel Piech User-Agent: Thunderbird 1.5.0.14pre (X11/20071023) MIME-Version: 1.0 To: gdb@sources.redhat.com Subject: Re: Calling inferior functions and MI notification References: <200803271949.10914.vladimir@codesourcery.com> <47F107A6.4070808@windriver.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-03/txt/msg00281.txt.bz2 Vladimir Prus wrote: > Pawel Piech wrote: > > >> It would be helpful if *running event included a "reason" field. IDE's >> ususally track the command they just sent to determine the reason for >> resume event, but as it's an out-of-band record there is a possibility >> of a race condition which could break the IDE assumption. >> > > Hello Pawel, > > can you clarify what the 'reason' field should contain? I think that in > general, reporting the command that caused the run might be impossible. > > Too bad, because that's what I had in mind.... Like I said, IDE's including Eclipse usually solve this problem on their own, though the solution is theoretically susceptible to a race condition in cases where multiple interfaces are used to interact with GDB simultaneously. Cheers, Pawel > - Volodya > > >