From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16938 invoked by alias); 16 Jun 2009 18:40:27 -0000 Received: (qmail 16925 invoked by uid 22791); 16 Jun 2009 18:40:27 -0000 X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 16 Jun 2009 18:40:18 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MGdZv-0007X7-4l for insight@sources.redhat.com; Tue, 16 Jun 2009 18:40:15 +0000 Received: from 75.139.7.185 ([75.139.7.185]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Jun 2009 18:40:15 +0000 Received: from gds by 75.139.7.185 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Jun 2009 18:40:15 +0000 To: insight@sources.redhat.com From: Gene Smith Subject: Re: 20090609-cvs bad on linux (build fail cygwin) Date: Tue, 16 Jun 2009 18:48:00 -0000 Message-ID: <4A37E6FF.6050909@chartertn.net> References: <4A37DDE7.4020105@redhat.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------010807030207040702050902" User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) In-Reply-To: <4A37DDE7.4020105@redhat.com> X-IsSubscribed: yes Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2009-q2/txt/msg00081.txt.bz2 This is a multi-part message in MIME format. --------------010807030207040702050902 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 1522 Keith Seitz wrote: > Gene Smith wrote: > >> On all platforms, 6.8 builds (with the same script) and runs fine. > > I hate to say this, but this leads me to believe that a change in gdb is > actually breaking insight. Insight has not changed much (if at all) in > the last year or two. So there must be something under the covers, and > that means gdb. > > If you can supply me with a detailed build and test procedures to > reproduce the problem, I'll see if I can figure out what is going wrong. > > Keith > But I thought insight has it *own* gdb that never changes? Anyhow, here are the step I use to build it: mkdir insight_make cd insight_make copy in attachment environ.sh copy in attachment 05makeInsight.sh copy in attachment 05instInsight.sh (adjust paths in scripts as appropriate) mkdir insight_build bring in cvs head (I think it is under src/ by default) and rename to insight_sources: mv src/ insight_sources/ ./05makeInsight ./05instInsight That's it. However, to actually see the problem you need to be able to bring up source window that actually attempts to do something, like step through code or hit a set breakpoint. The non-responsiveness of the source window (other than the command menu and icons at the top) is the problem. Hopefully, this will help. Thanks, -gene P/S: I am still a bit confused as to whether I should be using the "system" supplied tcl/tk or the tcl/tck code from insight. I think I am using insight's. If I should use the system tcl/tk, how do I do that? --------------010807030207040702050902 Content-Type: text/plain; name="environ.sh" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="environ.sh" Content-length: 281 #export TARGET=arm-rtems4.9 #export PREFIX=/opt/rtems-4.9 #export PATH=$PATH:$PREFIX/bin export TARGET=arm-none-eabi export PREFIX=/home/gene/eabi/install export PATH=$PATH:$PREFIX/bin ## special for linux mingw32 cross compile, n/a otherwise export RC="i686-pc-mingw32-windres" --------------010807030207040702050902 Content-Type: text/plain; name="05makeInsight.sh" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="05makeInsight.sh" Content-length: 673 #!/bin/sh # # gds: reduce configure prms to rtems default (didn't help) # . ./environ.sh if [[ "$TARGET" == "" || "$PREFIX" == "" ]] ; then echo "You need to set: TARGET and PREFIX"; exit 0; fi export PATH=$PATH:$PREFIX/$TARGET #cd insight_build && rm -rf * #../insight_sources/configure -v --quiet --prefix=$PREFIX \ # --target=$TARGET --enable-interwork --enable-multilib \ # --with-gnu-ld --with-gnu-as #make all cd insight_build ../insight_sources/configure -v --quiet --prefix=$PREFIX \ --target=$TARGET --enable-interwork --enable-multilib \ --with-gnu-ld --with-gnu-as # --host=i686-pc-mingw32 --build=i686-pc-linux-gnu make #make install cd .. --------------010807030207040702050902 Content-Type: text/plain; name="05instInsight.sh" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="05instInsight.sh" Content-length: 215 #!/bin/sh . ./environ.sh if [[ "$TARGET" == "" || "$PREFIX" == "" ]] ; then echo "You need to set: TARGET and PREFIX"; exit 0; fi export PATH=$PATH:$PREFIX/$TARGET cd insight_build #make all make install cd .. --------------010807030207040702050902--