From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22744 invoked by alias); 2 Nov 2009 20:02:01 -0000 Received: (qmail 22447 invoked by uid 22791); 2 Nov 2009 20:02:00 -0000 X-SWARE-Spam-Status: No, hits=0.0 required=5.0 tests=BAYES_50 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; Mon, 02 Nov 2009 20:01:56 +0000 Received: from help3.essnet.com ([208.249.80.247]:56988 helo=HELP3) by hosting.altserver.com with esmtpa (Exim 4.69) (envelope-from ) id 1N536A-0003Ap-6y for insight@sourceware.org; Mon, 02 Nov 2009 12:01:54 -0800 Message-ID: From: =?iso-8859-1?Q?Mar=EDa_de_los_A._V=E1zquez?= To: Subject: Fw: Initialization Commands Date: Mon, 02 Nov 2009 20:02:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original 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/msg00006.txt.bz2 > I don't know anything about Code::Blocks, but it sounds to me like they > are starting up gdb/insight using the "-nx" option, which suppresses > reading .gdbinit. Where is declared the "-nx" option? > Where is .gdbinit? Gdb looks in two places: $HOME and $PWD, i.e., your > home directory and the current directory. If .gdbinit is not in $HOME, I > would put it there and see if that works. I declared the .gdbinit file in my home directory and in the current directory but it didn't work. > If you go to the Target Settings Dialog, you can have insight do this for > you automatically when you click the Run button. Of course, if > Code::Blocks is passing "-nx" to gdb/insight, insight won't read your > preferences file, anyway. But if you're like me and typically type at a > console window, this won't help you. I try the Target Settings Dialog, but it doesn't work neither. If I close insight and open it again, I have to input all the information again. That isn't what I need. MarĂ­a