From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25890 invoked by alias); 18 Nov 2005 23:36:45 -0000 Received: (qmail 25807 invoked by uid 22791); 18 Nov 2005 23:36:44 -0000 Received: from ylpvm43-ext.prodigy.net (HELO ylpvm43.prodigy.net) (207.115.57.74) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 18 Nov 2005 23:36:44 +0000 Received: from pimout1-ext.prodigy.net (pimout1-int.prodigy.net [207.115.5.65]) by ylpvm43.prodigy.net (8.12.10 outbound/8.12.10) with ESMTP id jAINaj2G016104 for ; Fri, 18 Nov 2005 18:36:45 -0500 X-ORBL: [69.226.209.231] Received: from [192.168.1.4] (adsl-69-226-209-231.dsl.pltn13.pacbell.net [69.226.209.231]) by pimout1-ext.prodigy.net (8.13.4 outbound domainkey aix/8.13.4) with ESMTP id jAINaVOu036944; Fri, 18 Nov 2005 18:36:32 -0500 From: Bruce Korb To: insight@sourceware.org Subject: Re: -nx and .gdbtkinit Date: Fri, 18 Nov 2005 23:36:00 -0000 User-Agent: KMail/1.7.1 Cc: Keith Seitz , Andrew STUBBS , insight@sources.redhat.com References: <437DC631.1060609@st.com> <437E5954.60104@redhat.com> In-Reply-To: <437E5954.60104@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200511181536.30158.bkorb@gnu.org> X-IsSubscribed: yes Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2005-q4/txt/msg00023.txt.bz2 What is the processing order of these files? Another way of putting it: could not the ``-nx'' option be added to the .gdbtkinit file and cause it to inhibit .gdbinit? I stubbed my toe on this some time back and it did take some bother to "get it right"..... Cheers - Bruce On Friday 18 November 2005 02:44 pm, Keith Seitz wrote: > Andrew STUBBS wrote: > > > The GDB -nx option currently causes Insight to ignore the .gdbtkinit (or > > gdbtk.ini) file. > > Correct. > > > This is a problem for me because I need to disable .gdbinit, but wish to > > continue using .gdbtkinit. > > Eeew... Ummm... Hmmm... > > Would it be acceptable to totally remove this 'feature'? Or at least > > unhook it from -nx somehow? > > Yeah, I think you should be able to do something for insight. The > problem is adding new command-line options to gdb for insight will be > problematic (to be polite), since gdb still greedily hoards all options > processing. [I once started building a patch to separate this out...] From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25902 invoked by alias); 18 Nov 2005 23:36:46 -0000 Received: (qmail 25802 invoked by uid 22791); 18 Nov 2005 23:36:43 -0000 Received: from ylpvm43-ext.prodigy.net (HELO ylpvm43.prodigy.net) (207.115.57.74) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 18 Nov 2005 23:36:43 +0000 Received: from pimout1-ext.prodigy.net (pimout1-int.prodigy.net [207.115.5.65]) by ylpvm43.prodigy.net (8.12.10 outbound/8.12.10) with ESMTP id jAINaj2C016104 for ; Fri, 18 Nov 2005 18:36:45 -0500 X-ORBL: [69.226.209.231] Received: from [192.168.1.4] (adsl-69-226-209-231.dsl.pltn13.pacbell.net [69.226.209.231]) by pimout1-ext.prodigy.net (8.13.4 outbound domainkey aix/8.13.4) with ESMTP id jAINaVOu036944; Fri, 18 Nov 2005 18:36:32 -0500 From: Bruce Korb To: insight@sourceware.org Subject: Re: -nx and .gdbtkinit Date: Sat, 19 Nov 2005 00:14:00 -0000 User-Agent: KMail/1.7.1 Cc: Keith Seitz , Andrew STUBBS , insight@sources.redhat.com References: <437DC631.1060609@st.com> <437E5954.60104@redhat.com> In-Reply-To: <437E5954.60104@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <200511181536.30158.bkorb@gnu.org> X-IsSubscribed: yes Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2005-q4/txt/msg00024.txt.bz2 Message-ID: <20051119001400.7YrAYPg5bv-ksX3nD6GjPupc4GJ0UUZnZRCPmyAmlRM@z> What is the processing order of these files? Another way of putting it: could not the ``-nx'' option be added to the .gdbtkinit file and cause it to inhibit .gdbinit? I stubbed my toe on this some time back and it did take some bother to "get it right"..... Cheers - Bruce On Friday 18 November 2005 02:44 pm, Keith Seitz wrote: > Andrew STUBBS wrote: > > > The GDB -nx option currently causes Insight to ignore the .gdbtkinit (or > > gdbtk.ini) file. > > Correct. > > > This is a problem for me because I need to disable .gdbinit, but wish to > > continue using .gdbtkinit. > > Eeew... Ummm... Hmmm... > > Would it be acceptable to totally remove this 'feature'? Or at least > > unhook it from -nx somehow? > > Yeah, I think you should be able to do something for insight. The > problem is adding new command-line options to gdb for insight will be > problematic (to be polite), since gdb still greedily hoards all options > processing. [I once started building a patch to separate this out...]