From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10631 invoked by alias); 11 Oct 2003 22:21:35 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 10623 invoked from network); 11 Oct 2003 22:21:34 -0000 Received: from unknown (HELO localhost.redhat.com) (65.49.0.121) by sources.redhat.com with SMTP; 11 Oct 2003 22:21:34 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 37C002B89; Sat, 11 Oct 2003 18:21:32 -0400 (EDT) Message-ID: <3F88826C.8050407@redhat.com> Date: Sat, 11 Oct 2003 22:21:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mark Kettenis Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH/RFA]: New architecture method: regset_from_core_section References: <200310111305.h9BD5JLE078955@elgar.kettenis.dyndns.org> <3F8814BF.3060106@redhat.com> <200310112210.h9BMAMmN010351@elgar.kettenis.dyndns.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-10/txt/msg00419.txt.bz2 > Date: Sat, 11 Oct 2003 10:33:35 -0400 > From: Andrew Cagney > > > The future might bring us regset_from_remote and perhaps > > regset_from_ptrace_request. We'll see. > > Can you add this info in the doco as a maintainer note? > > I'll try to cook something up. Any suggestion on where to add it? Straight after the description. For instance (from my recent return_value patch): +@xref{EXTRACT_STRUCT_VALUE_ADDRESS}, for a description of how +return-values that use the struct convention are handled. + +@emph{Maintainer note: This method replaces separate predicate, extract, +store methods. By having only one method, the logic needed to determine +the return-value convention need only be implemented in one place. If +@value{GDBN} were written in an @sc{oo} language, this method would +instead return an object that knew how to perform the register +return-value extract and store.} Andrew (thanks!)