This is the mail archive of the insight@sourceware.org mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]