From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9532 invoked by alias); 6 May 2009 16:41:19 -0000 Received: (qmail 9488 invoked by uid 22791); 6 May 2009 16:41:17 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_53 X-Spam-Check-By: sourceware.org Received: from mailhost.u-strasbg.fr (HELO mailhost.u-strasbg.fr) (130.79.200.152) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 06 May 2009 16:41:05 +0000 Received: from baal.u-strasbg.fr (baal.u-strasbg.fr [IPv6:2001:660:2402::41]) by mailhost.u-strasbg.fr (8.14.2/jtpda-5.5pre1) with ESMTP id n46Gegf0051648 ; Wed, 6 May 2009 18:40:42 +0200 (CEST) Received: from mailserver.u-strasbg.fr (ms3.u-strasbg.fr [IPv6:2001:660:2402:d::12]) by baal.u-strasbg.fr (8.14.0/jtpda-5.5pre1) with ESMTP id n46Gegtq056242 ; Wed, 6 May 2009 18:40:42 +0200 (CEST) (envelope-from muller@ics.u-strasbg.fr) Received: from d620muller (www-ics.u-strasbg.fr [130.79.210.225]) (user=mullerp mech=LOGIN) by mailserver.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id n46Geg3d083370 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) ; Wed, 6 May 2009 18:40:42 +0200 (CEST) (envelope-from muller@ics.u-strasbg.fr) From: "Pierre Muller" To: "'Keith Seitz'" Cc: References: <002a01c9b707$9d795b40$d86c11c0$@u-strasbg.fr> <49DA8771.4040007@redhat.com> <002b01c9b70d$6badcd20$43096760$@u-strasbg.fr> <49DA8DBF.1000502@redhat.com> <002d01c9b70f$db0cc750$912655f0$@u-strasbg.fr> <49DA95C4.2070007@redhat.com> <000701c9b74d$a8143070$f83c9150$@u-strasbg.fr> <4A01B691.7060909@redhat.com> In-Reply-To: <4A01B691.7060909@redhat.com> Subject: RE: cygwin runtime woes Date: Wed, 06 May 2009 16:41:00 -0000 Message-ID: <001801c9ce69$6a1ec860$3e5c5920$@u-strasbg.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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/msg00048.txt.bz2 The -nx made a bigger difference!!! I had a starting insight ! Thus I removed the gdbtk.ini file and retried to start insight with gdb.exe but I got no source window, and when I tried to load gdb.exe manually after, I got this: can't set "gdb_loaded": {hook=3Dnamespace inscope ::SrcWin {::.srcwin0.srcw= in _set_state} args=3D"gdb_loaded" can't read "twin": no such variable } while executing "set gdb_loaded 0" (procedure "set_exe" line 24) invoked from within "set_exe" (procedure "_open_file" line 63) invoked from within "_open_file" (menu invoke)errorCode is NONE > -----Message d'origine----- > De=A0: insight-owner@sourceware.org [mailto:insight-owner@sourceware.org] > De la part de Keith Seitz > Envoy=E9=A0: Wednesday, May 06, 2009 6:11 PM > =C0=A0: Pierre Muller > Cc=A0: insight@sourceware.org > Objet=A0: Re: cygwin runtime woes >=20 > Pierre Muller wrote: > > I debugged the problem a bit: > > > > gdb_loc is call a few times > > for 'main' 'MAIN___' 'MAIN__' 'cyg_user_start' 'cyg_start' > > and then finally with '*' which causes the abort. >=20 > That sounds normal. When insight starts up and gdb loads an executable, > it will attempt to locate the entry point for the executable so that > the > source window can display it. These function names are actually from > the > preference gdb/main_names, defined in prefs.tcl. >=20 > The '*' argument is odd. I don't know where that is coming from. > Passing > '*' to gdb_loc will cause gdb_loc to error, though. >=20 > Out of curiosity, have you tried inhibiting preferences at startup? > (insight -nx) Does it make any difference? >=20 > > the first calls all fail with > > "No symbol table loaded. Use "file" command" > > even though I used ./gdb.exe as arg for run command. >=20 > That sounds odd, too. Can you start vanilla gdb this way? I wonder what > insight might be complaining about. Have you tried running insight in > debug mode? To enable this, set GDBTK_DEBUG=3D1 in your environment > before > starting insight. It will write out the file "insight.log" (which you > can change by setting GDBTK_DEBUGFILE). >=20 > Keith