From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4061 invoked by alias); 29 May 2012 16:02:21 -0000 Received: (qmail 4051 invoked by uid 22791); 29 May 2012 16:02:20 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_NO,TW_BJ 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; Tue, 29 May 2012 16:02:08 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id BFC981C68D9; Tue, 29 May 2012 12:02:07 -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 pPPJ77pGju-c; Tue, 29 May 2012 12:02:07 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 8DD5F1C664D; Tue, 29 May 2012 12:02:07 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 74A67145616; Tue, 29 May 2012 09:02:01 -0700 (PDT) Date: Tue, 29 May 2012 16:02:00 -0000 From: Joel Brobecker To: Jan Kratochvil Cc: Pedro Alves , Tom Tromey , gdb-patches@sourceware.org Subject: Re: RFC for: "Re: Regression for gdb.fortran/library-module.exp [Re: [RFA] choose symbol from given block's objfile first.]" Message-ID: <20120529160201.GQ5492@adacore.com> References: <4FB1459E.60208@redhat.com> <20120514175913.GM10253@adacore.com> <20120514180624.GA16368@host2.jankratochvil.net> <20120515130851.GP10253@adacore.com> <20120516195718.GA10253@adacore.com> <20120518164815.GA11883@host2.jankratochvil.net> <20120528142727.GH5492@adacore.com> <20120528161200.GA19230@host2.jankratochvil.net> <20120529154436.GO5492@adacore.com> <20120529155527.GA9177@host2.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120529155527.GA9177@host2.jankratochvil.net> User-Agent: Mutt/1.5.20 (2009-06-14) 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/msg01025.txt.bz2 > Just a gdbarch design detail - gdbarch attribute should be a real function so > that the default (SVR4-compatible) implementation can just ignore the > context_objfile parameter. The MS-Windows implementation will unconditionally > follow context_objfile. This will not clutter the default code with > MS-Windows specifics. I don't understand what you are trying to say regarding the gdbarch attribute. Do you mean that, instead of a yes/no integer, it should be a pointer to a function returning the yes/no integer? -- Joel