From: Keith Seitz <keiths@redhat.com>
To: "\"María de los A. Vázquez\"" <mvazquez@micromint.com>
Cc: insight@sourceware.org
Subject: Re: Fw: Initialization Commands
Date: Mon, 02 Nov 2009 20:24:00 -0000 [thread overview]
Message-ID: <4AEF4006.8020604@redhat.com> (raw)
In-Reply-To: <EE2E81B152A24E7AB442F226200EFFCA@HELP3>
On 11/02/2009 12:03 PM, MarÃa de los A. Vázquez wrote:
>> 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?
$ gdb --help | grep nx
--nx Do not read .gdbinit file.
It is an option to gdb/insight.
> I declared the .gdbinit file in my home directory and in the current
> directory but it didn't work.
That really sounds like "-nx" is being used...
> 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.
More evidence that "-nx" is being used... You can double-check this by
opening a console window (in insight) and entering the following command:
(gdb) tk set ::GDBStartup(inhibit_prefs)
If this returns "1", then the "-nx" option was passed to gdb/insight.
You can override this by defining "INSIGHT_FORCE_READ_PREFERENCES" in
your environment, i.e., "export INSIGHT_FORCE_READ_PREFERENCES=1" for
the bash shell.
Keith
next prev parent reply other threads:[~2009-11-02 20:24 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-02 20:02 María de los A. Vázquez
2009-11-02 20:24 ` Keith Seitz [this message]
2009-11-02 21:33 ` María de los A. Vázquez
2009-11-02 21:53 ` Keith Seitz
2009-11-04 18:31 ` María de los A. Vázquez
2009-11-04 18:42 ` Keith Seitz
2009-11-04 19:09 ` María de los A. Vázquez
2009-11-04 19:19 ` Keith Seitz
2009-11-04 20:28 ` María de los A. Vázquez
2009-11-04 20:39 ` Keith Seitz
2009-11-04 21:10 ` María de los A. Vázquez
2009-11-04 21:31 ` Keith Seitz
2009-11-05 16:52 ` María de los A. Vázquez
2009-11-05 16:58 ` Keith Seitz
2009-11-05 18:58 ` María de los A. Vázquez
2009-11-06 18:37 ` María de los A. Vázquez
2009-11-06 19:04 ` Keith Seitz
2009-11-06 20:20 ` María de los A. Vázquez
2009-11-13 20:00 ` María de los A. Vázquez
2009-11-13 21:25 ` María de los A. Vázquez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4AEF4006.8020604@redhat.com \
--to=keiths@redhat.com \
--cc=insight@sourceware.org \
--cc=mvazquez@micromint.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).