From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20635 invoked by alias); 2 May 2016 19:52:28 -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 20620 invoked by uid 89); 2 May 2016 19:52:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_SOFTFAIL autolearn=no version=3.3.2 spammy=H*r:112 X-HELO: simark.ca Received: from simark.ca (HELO simark.ca) (158.69.221.121) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 02 May 2016 19:52:26 +0000 Received: by simark.ca (Postfix, from userid 112) id 97C061E864; Mon, 2 May 2016 15:52:24 -0400 (EDT) Received: from simark.ca (localhost [127.0.0.1]) by simark.ca (Postfix) with ESMTP id CBED91E822; Mon, 2 May 2016 15:52:23 -0400 (EDT) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 02 May 2016 19:52:00 -0000 From: Simon Marchi To: Pedro Alves Cc: gdb-patches@sourceware.org Subject: Re: [PATCH 4/4] Fix solib-display.exp remote check In-Reply-To: References: <1459912543-15328-1-git-send-email-simon.marchi@polymtl.ca> <1459912543-15328-4-git-send-email-simon.marchi@polymtl.ca> <570BECA8.3050801@redhat.com> <581c3da12dacfd50cfbbe4dbd31a981a@simark.ca> Message-ID: <829b12556396e75ab3c0eb657632e370@simark.ca> X-Sender: simon.marchi@polymtl.ca User-Agent: Roundcube Webmail/1.1.3 X-SW-Source: 2016-05/txt/msg00027.txt.bz2 On 2016-05-02 14:28, Pedro Alves wrote: > Thanks for the investigation. I think it'd be nice to > add this info as a comment in the test file. > > Thanks, > Pedro Alves What about: # This test is currently not supported for stub targets, because it uses the # start command (through gdb_start_cmd). In theory, it could be changed to # use something else (kill + gdb_run_cmd with a manual breakpoint at main). # However, when we try that with the native-gdbserver board, we see that the # test fails and gdb outputs this upon connection: # # warning: Unable to display "a_global": No symbol "a_global" in current context. # warning: Unable to display "b_global": No symbol "b_global" in current context. # warning: Unable to display "c_global": No symbol "c_global" in current context. # # This is because the initial stop is done before the shared libraries are # loaded. If there were some stub targets for which this use case would be # supported, then the test could probably be modified to avoid using start.