This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
automatic commands...?
- From: christopher j bottaro <cjb at cs dot utexas dot edu>
- To: <gdb at sources dot redhat dot com>
- Date: Wed, 19 Feb 2003 15:40:23 -0600
- Subject: automatic commands...?
hello,
i want gdb to automatically execute some commands on startup. for instance,
i want to run the command 'gdb myprog 12345' and immediately upon attaching, i
want it to execute 'set myvar=blah; continue'. is this possible and if so,
how?
thanks,
-- christopher