From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10294 invoked by alias); 31 May 2012 20:37:15 -0000 Received: (qmail 10020 invoked by uid 22791); 31 May 2012 20:37:14 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_NO,TW_BJ,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 31 May 2012 20:37:01 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id B35BD1C6A8B for ; Thu, 31 May 2012 16:37:00 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id j8lc9CHw-3YW for ; Thu, 31 May 2012 16:37:00 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 7E7531C6A5B for ; Thu, 31 May 2012 16:37:00 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 920D3145616; Thu, 31 May 2012 13:36:50 -0700 (PDT) From: Joel Brobecker To: gdb-patches@sourceware.org Subject: [RFA 0/3] Make global symbol objfile search order arch-dependent Date: Thu, 31 May 2012 20:37:00 -0000 Message-Id: <1338496603-5423-1-git-send-email-brobecker@adacore.com> 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: 2012-05/txt/msg01102.txt.bz2 Hello, Re: http://www.sourceware.org/ml/gdb-patches/2012-05/msg01026.html This patch re-implement objfile searching order to make it gdbarch- dependent. There are three patches to this series: #1: Reverts my first patch, in order to start from a clean slate. #2: Introduces the new gdbarch method, and modifies the relevant code to use it, instead of using ALL_OBJFILES. The gdbarch's default implemention, which is equivalent to ALL_OBJFILES, is still used for all platforms, so there should be no functional change on any platform, yet. #3: Introduces a windows-specific version of that new gdbarch method, and installs it for x86 and amd64 windows targets. The patch series has been tested on x86_64-linux, as well as on x86-windows, but using AdaCore's testsuite. No regression observed.