From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25447 invoked by alias); 16 Aug 2002 00:02:58 -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 25225 invoked from network); 16 Aug 2002 00:02:56 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 16 Aug 2002 00:02:56 -0000 Received: from ges.redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 980993C03; Thu, 15 Aug 2002 20:02:54 -0400 (EDT) Message-ID: <3D5C412E.6030805@ges.redhat.com> Date: Thu, 15 Aug 2002 17:02:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020810 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrew Cagney Cc: gdb-patches@sources.redhat.com Subject: Re: [patch/rfc] Provide a default ``info float'' References: <3D5564DC.2070809@ges.redhat.com> <3D5C3CC3.4070805@ges.redhat.com> Content-Type: multipart/mixed; boundary="------------020906070609060900010005" X-SW-Source: 2002-08/txt/msg00396.txt.bz2 This is a multi-part message in MIME format. --------------020906070609060900010005 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 635 > 2002-08-10 Andrew Cagney > > * gdbarch.sh (PRINT_FLOAT_INFO): Change to a predicate method. > Add `args' parameter. > * gdbarch.h, gdbarch.c: Regenerate. > > * arm-tdep.c (arm_print_float_info): Add the parameter `args'. > > * infcmd.c (float_info): Call print_float_info. > (print_float_info): New function. By default, print the > floating-point registers. > > * arch-utils.h (default_print_float_info): Delete declaration. > * arch-utils.c (default_print_float_info): Delete function. > > I've checked this in. Followed quickly by ... enjoy, Andrew --------------020906070609060900010005 Content-Type: text/plain; name="diffs" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="diffs" Content-length: 1299 2002-08-15 Andrew Cagney * i387-tdep.h (i387_print_float_info): Add `args' parameter. * i387-tdep.c (i387_print_float_info): Add `args' parameter. Index: i387-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/i387-tdep.c,v retrieving revision 1.20 diff -u -r1.20 i387-tdep.c --- i387-tdep.c 15 Aug 2002 23:06:54 -0000 1.20 +++ i387-tdep.c 16 Aug 2002 00:01:04 -0000 @@ -318,7 +318,7 @@ void i387_print_float_info (struct gdbarch *gdbarch, struct ui_file *file, - struct frame_info *frame) + struct frame_info *frame, const char *args) { unsigned int fctrl; unsigned int fstat; Index: i387-tdep.h =================================================================== RCS file: /cvs/src/src/gdb/i387-tdep.h,v retrieving revision 1.2 diff -u -r1.2 i387-tdep.h --- i387-tdep.h 15 Aug 2002 17:36:57 -0000 1.2 +++ i387-tdep.h 16 Aug 2002 00:01:04 -0000 @@ -25,7 +25,8 @@ extern void i387_print_float_info (struct gdbarch *gdbarch, struct ui_file *file, - struct frame_info *frame); + struct frame_info *frame, + const char *args); /* Fill register REGNUM in GDB's register array with the appropriate value from *FSAVE. This function masks off any of the reserved --------------020906070609060900010005--