From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17744 invoked by alias); 4 Nov 2009 18:31:58 -0000 Received: (qmail 17732 invoked by uid 22791); 4 Nov 2009 18:31:57 -0000 X-SWARE-Spam-Status: No, hits=-0.7 required=5.0 tests=AWL,BAYES_40 X-Spam-Check-By: sourceware.org Received: from m98.hosting.altserver.com (HELO m98.hosting.altserver.com) (72.34.46.98) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 04 Nov 2009 18:31:53 +0000 Received: from help3.essnet.com ([208.249.80.247]:53082 helo=HELP3) by hosting.altserver.com with esmtpa (Exim 4.69) (envelope-from ) id 1N5ke7-0006aN-Bb; Wed, 04 Nov 2009 10:31:51 -0800 Message-ID: <519FEDB294554B38AA780E6E14D10F98@HELP3> From: =?iso-8859-1?Q?Mar=EDa_de_los_A._V=E1zquez?= To: "Keith Seitz" Cc: References: <4AEF4006.8020604@redhat.com> <50C6D56245CE4AFDBA0A2853C2CA378D@HELP3> <4AEF54E4.2070209@redhat.com> In-Reply-To: <4AEF54E4.2070209@redhat.com> Subject: Re: Fw: Initialization Commands Date: Wed, 04 Nov 2009 18:31:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 8bit 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-q4/txt/msg00011.txt.bz2 > Yup. So that means your IDE is passing "-nx" to gdb/insight, suppressing > reading of preferences. I don't know what platform you are on (Windows? > Linux? Solaris? HPUX?), but if you set the environment variable > INSIGHT_FORCE_READ_PREFERENCES, insight will ignore the "-nx" flag. > > On any unix-like box (including Cygwin), you can set the variable by > using: > > $ export INSIGHT_FORCE_READ_PREFERENCES=1 > > It has been a long time since I used a windows box, but a quick search got > me this page from Microsoft's support pages (this is for XP -- I am sure > something similar exists for Vista or Windows 7): > > http://support.microsoft.com/kb/310519 I'm working on Windows Vista. I set the variable INSIGHT_FORCE_READ_PREFERENCES to 1, as you told me to do it, but it didn't work. I'm not able to read the init file. If I enter the command that you previously gave me: (gdb) tk set ::GDBStartup(inhibit_prefs) it continues returning "1". I don't know what I'm doing wrong. I'm working with it since yesterday but I don't get results. Is there another way to ignored the "-nx" command or how can I obtain what I need?? MarĂ­a