This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
How to execute a file of gdb commands from gdb prompt?
- From: "ying lcs" <yinglcs at gmail dot com>
- To: gdb at sourceware dot org
- Date: Sat, 19 May 2007 16:04:59 -0500
- Subject: 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.