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: How to run insight with a gdb script


On 17 May 2007 16:19, ying lcs wrote:

> Thanks Dave,
> 
> I start 'insight' and the program starts.
> But where do I type 'gdb -w ./MyServer -x gdb_script'?

  In the exact same place you were previously typing "gdb ./MyServer -x
gdb_script".  All I am saying is to add the -w flag.

  Or you could replace the 'gdb' in "gdb ./MyServer -x gdb_script" with
'insight', i.e. "insight ./MyServer -x gdb_script"

  'insight' and 'gdb -w' are the exact same thing.  And 'insight' understands
all the same command-line options as gdb, in particular it also accepts '-x
gdb_script'.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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