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]

How to execute a file of gdb commands from gdb prompt?


Hi,

I can exeucte a file of gdb commands to start gdb like this:
gdb ./MyServer -x gdb_script

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

Thank you.


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