From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3699 invoked by alias); 3 Apr 2002 22:36:16 -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 3672 invoked from network); 3 Apr 2002 22:36:14 -0000 Received: from unknown (HELO tully.CS.Berkeley.EDU) (128.32.46.229) by sources.redhat.com with SMTP; 3 Apr 2002 22:36:14 -0000 Received: from tully.CS.Berkeley.EDU (hilfingr@localhost) by tully.CS.Berkeley.EDU (8.9.1a/8.9.1) with ESMTP id OAA20235; Wed, 3 Apr 2002 14:36:09 -0800 (PST) From: Paul Hilfinger Message-Id: <200204032236.OAA20235@tully.CS.Berkeley.EDU> To: Don Howard cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] Avoid recursivly defined user functions. Reply-To: Hilfinger@cs.berkeley.edu In-reply-to: Your message of Wed, 03 Apr 2002 14:10:21 -0800. MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <20230.1017873368.1@tully.CS.Berkeley.EDU> Date: Wed, 03 Apr 2002 14:36:00 -0000 X-SW-Source: 2002-04/txt/msg00078.txt.bz2 > Executing a recursively defined user function results in a core-dump from > gdb: ... > The following patch catches recursive user function definitions and > disallowes them: Is the segmentation fault the result of stack overflow? If so, I point out that there is an 'if' statement, so recursive commands are not necessarily wrong, are they? P. Hilfinger