From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19060 invoked by alias); 1 May 2003 21:12:41 -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 19003 invoked from network); 1 May 2003 21:12:40 -0000 Received: from unknown (HELO neon-gw.transmeta.com) (63.209.4.196) by sources.redhat.com with SMTP; 1 May 2003 21:12:40 -0000 Received: (from root@localhost) by neon-gw.transmeta.com (8.9.3/8.9.3) id OAA29186; Thu, 1 May 2003 14:12:35 -0700 Received: from mailhost.transmeta.com(10.1.1.15) by neon-gw.transmeta.com via smap (V2.1) id xma029174; Thu, 1 May 03 14:12:21 -0700 Received: from casey.transmeta.com (casey.transmeta.com [10.10.25.22]) by deepthought.transmeta.com (8.11.6/8.11.6) with ESMTP id h41LCOa06052; Thu, 1 May 2003 14:12:25 -0700 (PDT) Received: (from dje@localhost) by casey.transmeta.com (8.9.3/8.7.3) id OAA08809; Thu, 1 May 2003 14:12:24 -0700 From: Doug Evans MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16049.36280.775609.622335@casey.transmeta.com> Date: Thu, 01 May 2003 21:12:00 -0000 To: Andrew Cagney Cc: gdb@sources.redhat.com Subject: Inferior function call command set In-Reply-To: <3EB16A02.9080904@redhat.com> References: <3EB16A02.9080904@redhat.com> X-SW-Source: 2003-05/txt/msg00002.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? 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 ...)