From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32490 invoked by alias); 3 Mar 2004 17:29:51 -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 32480 invoked from network); 3 Mar 2004 17:29:49 -0000 Received: from unknown (HELO cam-admin0.cambridge.arm.com) (193.131.176.58) by sources.redhat.com with SMTP; 3 Mar 2004 17:29:49 -0000 Received: from pc960.cambridge.arm.com (pc960.cambridge.arm.com [10.1.205.4]) by cam-admin0.cambridge.arm.com (8.12.10/8.12.10) with ESMTP id i23HTi23019547; Wed, 3 Mar 2004 17:29:44 GMT Received: from pc960.cambridge.arm.com (rearnsha@localhost) by pc960.cambridge.arm.com (8.11.6/8.9.3) with ESMTP id i23HTi021640; Wed, 3 Mar 2004 17:29:44 GMT Message-Id: <200403031729.i23HTi021640@pc960.cambridge.arm.com> X-Authentication-Warning: pc960.cambridge.arm.com: rearnsha owned process doing -bs To: Daniel Jacobowitz cc: gdb-patches@sources.redhat.com, rearnsha@arm.com Reply-To: Richard Earnshaw Organization: ARM Ltd. X-Telephone: +44 1223 400569 (direct+voicemail), +44 1223 400400 (switchbd) X-Fax: +44 1223 400410 X-Address: ARM Ltd., 110 Fulbourn Road, Cherry Hinton, Cambridge CB1 9NJ. X-Url: http://www.arm.com/ Subject: Re: [rfa/arm] Fix some structs.exp failures In-reply-to: Your message of "Tue, 02 Mar 2004 12:16:59 EST." <20040302171658.GA24060@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 03 Mar 2004 17:29:00 -0000 From: Richard Earnshaw X-SW-Source: 2004-03.o/txt/msg00049.txt > structs.exp uses "typedef float tf". A structure type that would otherwise > be returned by reference is returned by value, because GDB doesn't realize > that it counts as a floating-point-like structure. > > OK? > > -- > Daniel Jacobowitz > MontaVista Software Debian GNU/Linux Developer > > 2004-03-02 Daniel Jacobowitz > > * arm-tdep.c (arm_use_struct_convention): Look through typedefs. I think this is OK, but it's hard to be sure: check_typedef is completely undocumented -- no mention in the internals documentation, and not even a comment in gdbtypes.[ch]. R. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32490 invoked by alias); 3 Mar 2004 17:29:51 -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 32480 invoked from network); 3 Mar 2004 17:29:49 -0000 Received: from unknown (HELO cam-admin0.cambridge.arm.com) (193.131.176.58) by sources.redhat.com with SMTP; 3 Mar 2004 17:29:49 -0000 Received: from pc960.cambridge.arm.com (pc960.cambridge.arm.com [10.1.205.4]) by cam-admin0.cambridge.arm.com (8.12.10/8.12.10) with ESMTP id i23HTi23019547; Wed, 3 Mar 2004 17:29:44 GMT Received: from pc960.cambridge.arm.com (rearnsha@localhost) by pc960.cambridge.arm.com (8.11.6/8.9.3) with ESMTP id i23HTi021640; Wed, 3 Mar 2004 17:29:44 GMT Message-ID: <200403031729.i23HTi021640@pc960.cambridge.arm.com> X-Authentication-Warning: pc960.cambridge.arm.com: rearnsha owned process doing -bs To: Daniel Jacobowitz cc: gdb-patches@sources.redhat.com, rearnsha@arm.com Reply-To: Richard Earnshaw Organization: ARM Ltd. X-Telephone: +44 1223 400569 (direct+voicemail), +44 1223 400400 (switchbd) X-Fax: +44 1223 400410 X-Address: ARM Ltd., 110 Fulbourn Road, Cherry Hinton, Cambridge CB1 9NJ. X-Url: http://www.arm.com/ Subject: Re: [rfa/arm] Fix some structs.exp failures In-reply-to: Your message of "Tue, 02 Mar 2004 12:16:59 EST." <20040302171658.GA24060@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 19 Mar 2004 00:09:00 -0000 From: Richard Earnshaw X-SW-Source: 2004-03/txt/msg00049.txt.bz2 Message-ID: <20040319000900.G6KFqeJmeMlDMNQb8uDBuZ8ZU9t3ieHehvcS-z-aObc@z> > structs.exp uses "typedef float tf". A structure type that would otherwise > be returned by reference is returned by value, because GDB doesn't realize > that it counts as a floating-point-like structure. > > OK? > > -- > Daniel Jacobowitz > MontaVista Software Debian GNU/Linux Developer > > 2004-03-02 Daniel Jacobowitz > > * arm-tdep.c (arm_use_struct_convention): Look through typedefs. I think this is OK, but it's hard to be sure: check_typedef is completely undocumented -- no mention in the internals documentation, and not even a comment in gdbtypes.[ch]. R.