This is the mail archive of the insight@sources.redhat.com 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]

Re: Command line options


Hi,

	One solution I thought I found for not having to enter target 
settings each time I enter Insight was to create a .gdbinit file 
containing these two commands:

	set rdiromatzero 1
	target rdi e=192.20.2.100

	When I run gdb with the "--nw" option (no window), it reads 
correctly my .gdbinit file, but this is not the case with Insight, 
why?

	Hugo Villeneuve.


>Hugo> Is there a way for Insight to remember the target settings? I
>Hugo> must manually enter the target settings each time I run 
Insight.
>
>I think it would be fairly simple to change the session code to store
>target settings.  Whether this is the right thing to do, I don't 
know.
>Perhaps it would make more sense to store target settings based on 
the
>target gdb is built for?  (Though this in turn neglects multi-arch.)
>
>Storing target info with the session is on my session wish-list.  I
>never did it because I very rarely use a non-native target.  If you
>can hack Tcl and know what needs to be saved it should be easy to add
>the code to session.tcl.
>
>If anybody is interested I still have a list of stuff we probably
>ought to save in sessions but currently do not.
>
>Tom
>

--------------------------------------
  Hugo Villeneuve
  Hardware/Firmware Developer
  SoftAcoustik Inc.

  (418) 521-1515
  hvilleneuve@softacoustik.com
  http://www.softacoustik.com
-------------------------------------- 



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