From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13884 invoked by alias); 27 Feb 2013 02:00:56 -0000 Received: (qmail 13868 invoked by uid 22791); 27 Feb 2013 02:00:54 -0000 X-SWARE-Spam-Status: No, hits=-4.3 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 27 Feb 2013 02:00:45 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1UAWK4-0003TP-KQ from Hui_Zhu@mentor.com ; Tue, 26 Feb 2013 18:00:44 -0800 Received: from SVR-ORW-FEM-05.mgc.mentorg.com ([147.34.97.43]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 26 Feb 2013 18:00:44 -0800 Received: from [127.0.0.1] (147.34.91.1) by svr-orw-fem-05.mgc.mentorg.com (147.34.97.43) with Microsoft SMTP Server id 14.1.289.1; Tue, 26 Feb 2013 18:00:43 -0800 Message-ID: <512D68C7.80107@mentor.com> Date: Wed, 27 Feb 2013 02:00:00 -0000 From: Hui Zhu User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:19.0) Gecko/20130126 Thunderbird/19.0 MIME-Version: 1.0 To: Pedro Alves , Hui Zhu CC: , "Gustavo, Luis" Subject: Re: [PATCH] remote doesn't add the main thread if we didn't do so already References: <512B447F.8040309@mentor.com> <512CA5B8.2000706@redhat.com> <512CCB5B.7070801@redhat.com> In-Reply-To: <512CCB5B.7070801@redhat.com> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit 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: 2013-02/txt/msg00668.txt.bz2 Hi Pedro, This patch should post with all of OSE patches. Please ignore this thread. Sorry for waste your time. Thanks, Hui On 02/26/13 22:48, Pedro Alves wrote: > On 02/26/2013 02:39 PM, Hui Zhu wrote: >> Hi Pedro, >> >> On Tue, Feb 26, 2013 at 8:08 PM, Pedro Alves wrote: >>> Hi Hui, Luis, >>> >>> Thanks for the patch. >>> >>> On 02/25/2013 11:01 AM, Hui Zhu wrote: >>>> Hi, >>>> >>>> This is the patch to change function add_current_inferior_and_thread that doesn't add the main thread if we didn't do so already. >>>> >>> >>> I have the mild impression I've seen this change before, but heck >>> if I recall any details, and I may be wrong. Can you or Luis >>> expand on the background/rationale for this change? >> >> This patch is part of OSE support that includes some small changes and >> some bigger one. > > Okay, that probably explains why I thought I'd seen it before. > >> So my thought is post the small one first. > > That's fine, but being small doesn't mean it shouldn't be explained. > Please share the rationale for the change so we have it recorded in > the public archives. You should be able to find it in Mentor's > internal archives. What problem does this solve? When can this > happen (initial connection, vRun, other?). Etc. >