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 06:29, ying lcs wrote:

> Hi,
> 
> I currently start my program like this in gdb  with a script (in
> gdb_script): gdb ./MyServer -x gdb_script
> 
> Can you please tell me how can i do the same in insight?
> 
> Thank you.

gdb -w ./MyServer -x gdb_script

ought to work.  You may not see any output from the script, in a quick test it
seemed to me that the script runs before the insight console window is opened.

    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]