This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: Command line options
- To: tromey at redhat dot com
- Subject: Re: Command line options
- From: Hugo Villeneuve <hvilleneuve at softacoustik dot com>
- Date: Sat, 27 Oct 2001 16:06:52 -0400
- CC: Red Hat Insight <insight at sources dot redhat dot com>
- Organization: SoftAcoustik Technologies Inc.
- Reply-To: hvilleneuve at softacoustik dot com
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
--------------------------------------