From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31299 invoked by alias); 23 May 2003 14:03:35 -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 31267 invoked from network); 23 May 2003 14:03:34 -0000 Received: from unknown (HELO auemail2.firewall.lucent.com) (192.11.223.163) by sources.redhat.com with SMTP; 23 May 2003 14:03:34 -0000 Received: from nbgif1.de.lucent.com (h135-248-192-26.lucent.com [135.248.192.26]) by auemail2.firewall.lucent.com (Switch-2.2.6/Switch-2.2.0) with ESMTP id h4NE3VK04144 for ; Fri, 23 May 2003 10:03:32 -0400 (EDT) Received: from sfsws1.de.lucent.com (sfsws1 [135.248.217.84]) by nbgif1.de.lucent.com (8.8.8/8.8.5) with ESMTP id QAA19500 for ; Fri, 23 May 2003 16:03:25 +0200 (MEST) Received: from sfsw51.de.lucent.com (sfsw51 [135.248.216.225]) by sfsws1.de.lucent.com (8.11.7+Sun/8.8.5) with ESMTP id h4NE3KT00827 for ; Fri, 23 May 2003 16:03:20 +0200 (MEST) Received: (from kzeitler@localhost) by sfsw51.de.lucent.com (8.11.7+Sun/8.8.8) id h4NE3KS10375; Fri, 23 May 2003 16:03:20 +0200 (MEST) X-Authentication-Warning: sfsw51.de.lucent.com: kzeitler set sender to kzeitler@lucent.com using -f To: gdb@sources.redhat.com Subject: Re: calling functions in gdb sometimes doesn't work References: <3ECCD616.3040108@redhat.com> <20030522153835.GA25965@nevyn.them.org> X-NSA-Fodder: passwd Ft. Meade security Merlin offensive information warfare From: Klaus Zeitler Date: Fri, 23 May 2003 14:03:00 -0000 In-Reply-To: <20030522153835.GA25965@nevyn.them.org> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-05/txt/msg00310.txt.bz2 >>>>> "Daniel" == Daniel Jacobowitz writes: Daniel> Daniel> On Thu, May 22, 2003 at 09:52:22AM -0400, Andrew Cagney wrote: >> >Hi, >> > >> >with gdb 5.2 (Solaris 5.8) sometimes calling a function, >> >e.g. hello(){printf("hello\n");}, results in the following message: >> > >> >(gdb) p hello() >> > >> >The program being debugged stopped while in a function called from GDB. >> >When the function (hello) is done executing, GDB will silently >> >stop (instead of continuing to evaluate the expression containing >> >the function call). >> > Daniel> In fact, it really doesn't work right. Jim discovered a few Daniel> months ago that other threads will be resumed. so do you wanna say that this is a known bug? Is it already fixed in 5.3 or in CVS? How stable is the CVS version in general? Klaus -- ------------------------------------------ | Klaus Zeitler Lucent Technologies | | Email: kzeitler@lucent.com | ------------------------------------------ --- Left to themselves, things tend to go from bad to worse.