From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25245 invoked by alias); 7 Feb 2004 16:51:48 -0000 Mailing-List: contact insight-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sources.redhat.com Received: (qmail 25228 invoked from network); 7 Feb 2004 16:51:47 -0000 Received: from unknown (HELO server021.webpack.hosteurope.de) (80.237.130.29) by sources.redhat.com with SMTP; 7 Feb 2004 16:51:47 -0000 Received: from p50818346.dip0.t-ipconnect.de (p50818346.dip0.t-ipconnect.de [80.129.131.70]) (authenticated bits=0) by server021.webpack.hosteurope.de (8.12.8/8.12.8) with ESMTP id i17Gpf6r026235 for ; Sat, 7 Feb 2004 17:51:42 +0100 From: Heiko Gerdau Reply-To: hg@technosis.de To: "insight@sources.redhat.com" Subject: Re: Insight 6.0 and Dlls Date: Sat, 07 Feb 2004 16:51:00 -0000 User-Agent: KMail/1.5.4 References: <200401061505.26991.hg@technosis.de> <200402051641.42648.hg@technosis.de> <1076005443.1587.67.camel@lindt.uglyboxes.com> In-Reply-To: <1076005443.1587.67.camel@lindt.uglyboxes.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200402071749.47602.hg@technosis.de> X-SW-Source: 2004-q1/txt/msg00053.txt.bz2 On Thursday 05 February 2004 19:24, Keith Seitz wrote: > On Thu, 2004-02-05 at 07:41, Heiko Gerdau wrote: > If you look at symbol_file_add now, we see that the > pre/post_add_symbol_hooks are ONLY called if from_tty !=3D 0 or "info > verbose" has been set. > > Now, I cannot tell you that setting "info verbose" in gdb proper will > not interfere with insight, but I do think that there is a fundamental > problem with the hooks not being called in this case. > > Should from_tty be non-zero? I don't know. > Should the hooks be called no matter what? I don't remember. I have > vague recollections that there was a reason for the from_tty thing. :-( > > I've run through the CVS history, and I see that SOLIB_ADD has always > had from_tty set to 0. Yet I remember clearly that this used to work. > From the looks of it, it would appear that this shouldn't work on unix, > either. > > Well, that's all I have right now. You migt as well try setting info > verbose and seeing if that helps works around it for now. Thanks for pointing this out. If I do the two changes below in function=20 "symbol_file_add_with_addrs_or_offsets" in symfile.c the insight combobox=20 is blinking heavily on startup but gets all the source files from all the=20 libraries with debugginjg information. I commented out: lines 887 and 963 in symfile.c each containing /* =A0if (from_tty || info_verbose) */ Thanks Heiko