public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Re: Command line options
       [not found] <200110262305.QAA27560@cygnus.com>
@ 2001-10-27 12:05 ` Tom Tromey
  0 siblings, 0 replies; 3+ messages in thread
From: Tom Tromey @ 2001-10-27 12:05 UTC (permalink / raw)
  To: hvilleneuve; +Cc: Red Hat Insight

>>>>> "Hugo" == Hugo Villeneuve <hvilleneuve@softacoustik.com> writes:

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Command line options
@ 2001-10-27 13:06 Hugo Villeneuve
  0 siblings, 0 replies; 3+ messages in thread
From: Hugo Villeneuve @ 2001-10-27 13:06 UTC (permalink / raw)
  To: tromey; +Cc: Red Hat Insight

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
-------------------------------------- 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Command line options
@ 2001-10-26 16:05 Hugo Villeneuve
  0 siblings, 0 replies; 3+ messages in thread
From: Hugo Villeneuve @ 2001-10-26 16:05 UTC (permalink / raw)
  To: Red Hat Insight

Hi,

	Is there a way for Insight to remember the target settings? I 
must manually enter the target settings each time I run Insight.

	Hugo Villeneuve

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

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-10-27 13:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <200110262305.QAA27560@cygnus.com>
2001-10-27 12:05 ` Command line options Tom Tromey
2001-10-27 13:06 Hugo Villeneuve
  -- strict thread matches above, loose matches on Subject: below --
2001-10-26 16:05 Hugo Villeneuve

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).