From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14299 invoked by alias); 2 Mar 2003 16:46:50 -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 14292 invoked from network); 2 Mar 2003 16:46:49 -0000 Received: from unknown (HELO localhost.redhat.com) (24.157.209.173) by 172.16.49.205 with SMTP; 2 Mar 2003 16:46:49 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 6A1BC2B04 for ; Sun, 2 Mar 2003 11:49:01 -0500 (EST) Message-ID: <3E6235FD.7040100@redhat.com> Date: Sun, 02 Mar 2003 16:46:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gdb-patches@sources.redhat.com Subject: [rfa:doco] document register_type() Content-Type: multipart/mixed; boundary="------------010205040700090803000300" X-SW-Source: 2003-03/txt/msg00032.txt.bz2 This is a multi-part message in MIME format. --------------010205040700090803000300 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 80 Hello, This adds doco for the register_type() architecture method. ok? Andrew --------------010205040700090803000300 Content-Type: text/plain; name="diffs" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="diffs" Content-length: 1029 2003-03-01 Andrew Cagney * gdbint.texinfo (Target Architecture Definition): Document register_type. Index: gdbint.texinfo =================================================================== RCS file: /cvs/src/src/gdb/doc/gdbint.texinfo,v retrieving revision 1.123 diff -u -r1.123 gdbint.texinfo --- gdbint.texinfo 4 Feb 2003 23:59:26 -0000 1.123 +++ gdbint.texinfo 2 Mar 2003 16:25:38 -0000 @@ -3504,6 +3504,12 @@ Return the virtual type of @var{reg}. @xref{Target Architecture Definition, , Raw and Virtual Register Representations}. +@item struct type *register_type (@var{gdbarch}, @var{reg}) +@findex register_type +If defined, return the type of register @var{reg}. This function +superseeds REGISTER_VIRTUAL_TYPE. @xref{Target Architecture Definition, +, Raw and Virtual Register Representations}. + @item REGISTER_CONVERT_TO_VIRTUAL(@var{reg}, @var{type}, @var{from}, @var{to}) @findex REGISTER_CONVERT_TO_VIRTUAL Convert the value of register @var{reg} from its raw form to its virtual --------------010205040700090803000300--