From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30352 invoked by alias); 1 May 2003 20:55:05 -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 15817 invoked from network); 1 May 2003 18:40:05 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.105) by sources.redhat.com with SMTP; 1 May 2003 18:40:05 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 12F402B2F for ; Thu, 1 May 2003 14:40:03 -0400 (EDT) Message-ID: <3EB16A02.9080904@redhat.com> Date: Thu, 01 May 2003 20:55: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: gdb@sources.redhat.com Subject: Inferior function call command set Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-05/txt/msg00001.txt.bz2 Hello, 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 So: - anyone got a better name for this new command? - should these be re-grouped into a set of sub commands vis: set/show call coerce-float-to-double yes|no set/show call unwind-on-signal yes|no set/show call breakpoint-location on-stack|at-entry|auto I'm figuring that "(gdb) set call" should provide a rough correspondance to the existing "(gdb) call" command. Comment away ... Andrew PS: Yes, this means that I've got a target using generic dummy frames where the return breakpoint is on the stack. PPS: While it doesn't currently work, it should be possible to make on-stack function when the stack has no-execute set. It would lead to a SIGSEG (instead of a SIGTRAP) which GDB should then map onto a breakpoint.