From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 104811 invoked by alias); 16 Jul 2015 16:35:49 -0000 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 Received: (qmail 104796 invoked by uid 89); 16 Jul 2015 16:35:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pa0-f49.google.com Received: from mail-pa0-f49.google.com (HELO mail-pa0-f49.google.com) (209.85.220.49) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Thu, 16 Jul 2015 16:35:48 +0000 Received: by pachj5 with SMTP id hj5so45438572pac.3 for ; Thu, 16 Jul 2015 09:35:46 -0700 (PDT) X-Received: by 10.68.139.136 with SMTP id qy8mr20378080pbb.89.1437064546262; Thu, 16 Jul 2015 09:35:46 -0700 (PDT) Received: from [127.0.0.1] (gcc1-power7.osuosl.org. [140.211.15.137]) by smtp.gmail.com with ESMTPSA id o8sm8453555pdp.70.2015.07.16.09.35.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Jul 2015 09:35:45 -0700 (PDT) Message-ID: <55A7DD57.3030205@gmail.com> Date: Thu, 16 Jul 2015 16:35:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Don Breazeal , "Breazeal, Don" CC: "gdb-patches@sourceware.org" , "palves@redhat.com" Subject: Re: [PATCH 1/5] Extended-remote exec events References: <1436996979-32350-1-git-send-email-donb@codesourcery.com> <1436996979-32350-2-git-send-email-donb@codesourcery.com> <86bnfcjj6v.fsf@gmail.com> <55A7D316.8050302@codesourcery.com> In-Reply-To: <55A7D316.8050302@codesourcery.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2015-07/txt/msg00479.txt.bz2 On 16/07/15 16:51, Don Breazeal wrote: > You make a good point, GDBserver doesn't handle that case. I assume > that's what this is about: > --- > warning: Selected architecture i386 is not compatible with reported > target architecture i386:x86-64 > --- > I'll investigate. This messages shows that GDB (rather than GDBserver) doesn't handle that case. AFAIK, GDBserver doesn't handle that case either. I am working on patches create target description at the right time in GDBserver, derived from this patch https://sourceware.org/ml/gdb-patches/2015-07/msg00403.html Current GDBserver creates target description too early, if we use --wrapper option, GDBserver created target description according to wrapper program, instead of the program we want to debug, which is wrong. -- Yao (齐尧)