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