From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 113496 invoked by alias); 12 Sep 2015 21:56:27 -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 113476 invoked by uid 89); 12 Sep 2015 21:56:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=no version=3.3.2 X-HELO: cvs.linux-mips.org Received: from eddie.linux-mips.org (HELO cvs.linux-mips.org) (148.251.95.138) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 12 Sep 2015 21:56:25 +0000 Received: (from localhost user: 'macro', uid#1010) by eddie.linux-mips.org with ESMTP id S27008176AbbILV4XT196q (ORCPT ); Sat, 12 Sep 2015 23:56:23 +0200 Date: Sat, 12 Sep 2015 21:56:00 -0000 From: "Maciej W. Rozycki" To: Paul Pluzhnikov cc: Mark Kettenis , Pedro Alves , gdb-patches ml Subject: Re: [patch] Fix BZ15121 -- x/a broken for addresses in shared libraries In-Reply-To: Message-ID: References: <55F19100.30600@redhat.com> <201509101433.t8AEX5Cw008716@glazunov.sibelius.xs4all.nl> User-Agent: Alpine 2.20 (LFD 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-IsSubscribed: yes X-SW-Source: 2015-09/txt/msg00267.txt.bz2 On Sat, 12 Sep 2015, Paul Pluzhnikov wrote: > > Indeed. Use `bfd_get_sign_extend_vma' to determine. > > For the life of me, I can't figure out how I can get the bfd in the > context of do_examine(). > > Clues? If it's not reachable in this context, then you may have to figure it out earlier on and store in `gdbarch'. HTH, Maciej