This is the mail archive of the gdb@sourceware.org mailing list for the GDB 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 execute a file of gdb commands from gdb prompt?


> But how can i start it at a gdb prompt?
> $ gdb ./MyServer
> (gdb) << how to run gdb_script here??

Use the "source" luke, the "source" will be with you, always.
http://www.sourceware.org/gdb/current/onlinedocs/gdb_21.html#IDX1185

-- 
Joel


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