From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26428 invoked by alias); 4 Nov 2009 20:39:39 -0000 Received: (qmail 26419 invoked by uid 22791); 4 Nov 2009 20:39:38 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 04 Nov 2009 20:39:33 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nA4KdVf0031808; Wed, 4 Nov 2009 15:39:31 -0500 Received: from [IPv6:::1] (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nA4KdRB0017058 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 4 Nov 2009 15:39:30 -0500 Message-ID: <4AF1E67F.6030201@redhat.com> Date: Wed, 04 Nov 2009 20:39:00 -0000 From: Keith Seitz User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.4pre) Gecko/20091014 Fedora/3.0-2.8.b4.fc11 Lightning/1.0pre Thunderbird/3.0b4 MIME-Version: 1.0 To: =?ISO-8859-1?Q?=22Mar=EDa_de_los_A=2E_V=E1zquez=22?= CC: insight@sourceware.org Subject: Re: Fw: Initialization Commands References: <4AEF4006.8020604@redhat.com> <50C6D56245CE4AFDBA0A2853C2CA378D@HELP3> <4AEF54E4.2070209@redhat.com> <519FEDB294554B38AA780E6E14D10F98@HELP3> <4AF1CAFA.2080209@redhat.com> <3016172ABB7447CB8ED230D87BCDDD02@HELP3> <4AF1D3A5.1040804@redhat.com> <6A1B4B1ABAF141398311A422FFC59D67@HELP3> In-Reply-To: <6A1B4B1ABAF141398311A422FFC59D67@HELP3> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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/msg00016.txt.bz2 On 11/04/2009 12:29 PM, María de los A. Vázquez wrote: > I restart my machine and now (gdb) tk set > ::env(INSIGHT_FORCE_READ_PREFERENCES) > returns "1". Excellent, that's a good start. > This is the output of "show version": > > (gdb) show version > GNU gdb 6.8.50.20080425-cvs > Copyright (C) 2008 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. Type "show copying" > and "show warranty" for details. > This GDB was configured as "--host=i686-pc-mingw32 --target=arm-eabi". Wow, okay, this is a CVS snapshot that someone compiled. Fortunately, it looks like you're close to getting it working anyway. > Now it's reading one breakpoint that was saved previously on gdbtk.ini > when I > tested it in command line, but it isn't reading my .gdbinit file that is > also located in my > home directory (C:\Users\help). Right, it will not read gdb.ini. The INSIGHT_FORCE_READ_PREFERENCES *only* gets insight to load/save its own preferences. As I recall you were interested in setting some target settings. So use the target dialog (File->Target Settings..." and select your information there. Then click the Run button, and you should be off. The next time you quit insight, it will save this information into your gdbtk.ini file, and when you restart, it should all just come back. [Note: you have to use the run BUTTON, not the console equivalent]. Keith