This is the mail archive of the
insight@sourceware.org
mailing list for the Insight project.
Fw: Initialization Commands
- From: María de los A. Vázquez <mvazquez at micromint dot com>
- To: <insight at sourceware dot org>
- Date: Mon, 2 Nov 2009 16:03:13 -0400
- Subject: Fw: Initialization Commands
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