automatic commands...?

christopher j bottaro cjb@cs.utexas.edu
Wed Feb 19 21:37:00 GMT 2003


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



More information about the Gdb mailing list