From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24068 invoked by alias); 19 Feb 2003 21:37:47 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 24061 invoked from network); 19 Feb 2003 21:37:47 -0000 Received: from unknown (HELO mail.utexas.edu) (128.83.126.134) by 172.16.49.205 with SMTP; 19 Feb 2003 21:37:47 -0000 Received: (qmail 19291 invoked by uid 0); 19 Feb 2003 21:37:45 -0000 Received: from dhcp-79-224.biosci.utexas.edu (129.116.79.224) by umbs-smtp-1 with SMTP; 19 Feb 2003 21:37:45 -0000 From: christopher j bottaro To: Subject: automatic commands...? Date: Wed, 19 Feb 2003 21:37:00 -0000 User-Agent: KMail/1.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200302191540.23945.cjb@cs.utexas.edu> X-SW-Source: 2003-02/txt/msg00377.txt.bz2 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