From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27047 invoked by alias); 1 May 2003 21:28:17 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 27040 invoked from network); 1 May 2003 21:28:16 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.105) by sources.redhat.com with SMTP; 1 May 2003 21:28:16 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id B4D082B2F; Thu, 1 May 2003 17:28:13 -0400 (EDT) Message-ID: <3EB1916D.7020102@redhat.com> Date: Thu, 01 May 2003 21:28: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: Doug Evans Cc: gdb@sources.redhat.com Subject: Re: Inferior function call command set References: <3EB16A02.9080904@redhat.com> <16049.36280.775609.622335@casey.transmeta.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-05/txt/msg00003.txt.bz2 > Andrew Cagney writes: > > GDB has a number of commands for controlling the behavior of inferior > > function calls (developers think of them as call dummies). Looking in > > "infcall.c" I find: > > > > set/show coerce-float-to-double yes|no > > set/show unwindonsignal yes|no > > > > And I'm now looking to add a third: > > > > set/show call-location on-stack|at-start|auto > > Questions: > > Out of curiousity, is there any need to have a runtime choice? Entry point in ROM, non 1:1 code/stack, ... > What happens if a value is set that the target doesn't support? > I presume this will be flagged as an error, right? > > Is there any target that actually supports more than one? > (and that has all forms consistently working, rather than the > usual one working and the others bitrotting away ...) An addition to the testsuite is implicit. Andrew