From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15686 invoked by alias); 12 Sep 2008 20:31:30 -0000 Received: (qmail 15674 invoked by uid 22791); 12 Sep 2008 20:31:30 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 12 Sep 2008 20:30:54 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id m8CKTnH6012331; Fri, 12 Sep 2008 16:30:10 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m8CKTcQh027650; Fri, 12 Sep 2008 16:29:38 -0400 Received: from opsy.redhat.com (vpn-10-13.bos.redhat.com [10.16.10.13]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id m8CKTbgw002341; Fri, 12 Sep 2008 16:29:37 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 77DAE88803A; Fri, 12 Sep 2008 14:29:48 -0600 (MDT) To: fche@redhat.com (Frank Ch. Eigler) Cc: Joel Brobecker , gdb-patches@sourceware.org Subject: Re: [RFA/commit/dwarf] Create partial symbols for nested subprograms References: <20080910201959.GC10133@adacore.com> <20080910203437.GA26162@caradoc.them.org> <20080911175422.GS12222@adacore.com> <20080911183730.GA17809@caradoc.them.org> <20080912041800.GA3714@adacore.com> <20080912165541.GE3714@adacore.com> <20080912174240.GF3714@adacore.com> From: Tom Tromey Reply-To: Tom Tromey X-Attribution: Tom Date: Fri, 12 Sep 2008 20:31:00 -0000 In-Reply-To: (Frank Ch. Eigler's message of "Fri\, 12 Sep 2008 14\:41\:21 -0400") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-09/txt/msg00282.txt.bz2 Joel> the one thing that I am wondering is how users will respond to an Joel> unexpectedly long delay when entering a command that is usually fast Joel> and yet takes a noticeably long time that one time. [...] Frank> Could gdb use something like alarm(2) to issue progress notifications? One open question with this patch is what to do about notifications. There are two things to consider. One problem is that gdb prints "(no debugging symbols found)" when reading partial symbols. With lazy loading, this is always printed, even though it is not correct. In my patch I removed this code. This is not really satisfying, at least if we assume that people want and pay attention to these messages (I certainly have on occasion). The other problem is whether to print something when reading partial symbols. This is a problem because it might print any time, potentially messing up other output. I'm not sure how this affects MI. Tom