From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5010 invoked by alias); 12 Mar 2002 15:56:01 -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 4904 invoked from network); 12 Mar 2002 15:55:59 -0000 Received: from unknown (HELO localhost.redhat.com) (24.112.135.44) by sources.redhat.com with SMTP; 12 Mar 2002 15:55:59 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id A9A023E9F; Tue, 12 Mar 2002 10:55:56 -0500 (EST) Message-ID: <3C8E250C.4070601@cygnus.com> Date: Tue, 12 Mar 2002 07:56:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:0.9.8) Gecko/20020210 X-Accept-Language: en-us MIME-Version: 1.0 To: Klee Dienes Cc: Daniel Jacobowitz , gdb-patches@sources.redhat.com Subject: Re: [RFA] Function return type checking References: <3B4ED0FE-35A5-11D6-A901-0030653FA4C6@apple.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-03/txt/msg00180.txt.bz2 >> Is this feature intended for C or ObjectiveC developers? > > I'd intend for this to be used by everyone. We specifically added it in response to bug reports from people making heavy use of the system math libraries; as well as from Cocoa (Objective-C) developers making heavy use of functions returning NSRect objects. The reason it's of interest to me in preparing the Objective-C patches is that much of the Objective-C GDB code makes use of being able to pass 'expected_type' arguments to the modified functions, and I'd rather not have to re-architect all those calls before submitting the patches. So there are two reasons for the change? The infrastructure you need for objective C and a user visible interface change. Can you expand a little on the objective C problems. If objective C has good reason for this infrastructure than I can't see why that part shouldn't go in. enjoy, Andrew