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]

Re: Fw: Initialization Commands



On 11/04/2009 11:10 AM, María de los A. Vázquez wrote:

This means that "INSIGHT_FORCE_READ_PREFERENCES" was not defined in the environment -- double-check your setting of this. [You might have to log-out and log back into your computer (or even restart it) for Windows to recognize this. I don't know exactly, it has been a very long time since I used Windows.]

I restart my machine and now (gdb) tk set ::env(INSIGHT_FORCE_READ_PREFERENCES)
returns "1".


Can you open a (command) shell and view the environment variables? [I think that's the "env" command, but don't hold me to it. Like I said, I haven't used windows seriously for at least ten years.] If so, is INSIGHT_FORCE_READ_PREFERENCES listed?

After the restart of my machine, I run the env command and now it shows INSIGHT_FORCE_
READ_PREFERENCES variables with "1" as its value.


[Of course, the '$' should have been omitted.] Nonetheless, this is the directory that is coming up as your home directory. [Is "HOME" set in your environment?] Unless you define HOME, you will have to place gdbtk.ini/gdb.ini in this directory in order for insight to find it. To be precise, this is where you will have to put gdb.ini (which you should not need). This is where insight will put gdbtk.ini.

gdbtk.ini is on my home directory: C:\Users\help.


I hope that does not turn into a problem. I have no idea what kind of modifications were made to gdb/insight (if any). What is the output of "show version"?

This is the output of "show version":


(gdb) show version
GNU gdb 6.8.50.20080425-cvs
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-pc-mingw32 --target=arm-eabi".


Now it's reading one breakpoint that was saved previously on gdbtk.ini when I
tested it in command line, but it isn't reading my .gdbinit file that is also located in my
home directory (C:\Users\help).


María



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