From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26285 invoked by alias); 1 Sep 2004 05:23:31 -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 26277 invoked from network); 1 Sep 2004 05:23:30 -0000 Received: from unknown (HELO inetmg01.sony.com.sg) (202.42.154.67) by sourceware.org with SMTP; 1 Sep 2004 05:23:30 -0000 Received: from avgw02b.sony.com.sg (avgw02b [43.68.8.23]) by inetmg01.sony.com.sg (8.11.7+Sun/8.11.6) with SMTP id i815SdI03113; Wed, 1 Sep 2004 13:28:40 +0800 (SGT) Received: from unknown(43.68.8.1) by avgw02b.sony.com.sg via csmap id 8a79bae4_fbd6_11d8_9098_0002b3cb4edc_21447; Wed, 01 Sep 2004 13:19:47 +0800 (SGT) Received: from sapsgssdibh01.ap.sony.com (bh01.ap.sony.com [43.68.15.23]) by seagw01.sony.com.sg (8.11.6+Sun/8.11.6) with ESMTP id i815FSE23983; Wed, 1 Sep 2004 13:15:28 +0800 (SGT) Received: from sapinsardexc01.sard.in.sony.com.sg (SAPINSARDEXC01 [43.88.102.8]) by sapsgssdibh01.ap.sony.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id SBCL8HZ6; Wed, 1 Sep 2004 13:23:22 +0800 Received: from madhveshr (43.88.102.29 [43.88.102.29]) by sapinsardexc01.sard.in.sony.com.sg with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id R858A8K4; Wed, 1 Sep 2004 11:05:13 +0530 Reply-To: From: "Madhvesh R S" To: "Bill Gatliff" , Subject: RE: Command echo from script files Date: Wed, 01 Sep 2004 05:23:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit In-Reply-To: <4135587F.6060100@billgatliff.com> X-SW-Source: 2004-09/txt/msg00001.txt.bz2 Hi, I try the following command to dump the output of gdb to a file $gdb ./a.out 1> output_log.txt Here the user should keep on pressing input commands which will be dumped to output log file. I am not clear about using script files and not sure whether the above method helps you or not. Can you please show me how to use gdb with script files and the contents of script file? Thanks -MS -----Original Message----- From: gdb-owner@sources.redhat.com [mailto:gdb-owner@sources.redhat.com]On Behalf Of Bill Gatliff Sent: Wednesday, September 01, 2004 10:35 AM To: gdb@sources.redhat.com Subject: Command echo from script files Guys: I'm invoking arm-elf-gdb with a script file, and capturing the results: $ arm-elf-gdb -x script progname 2>&1 | tee logfile I would love for the logfile to show the commands actually given to gdb, but it only shows the results of those commands. Is there a way to make the commands given to gdb from a script file show up on the console? Thanks! b.g. -- Bill Gatliff So what part of make clean all install do you not understand? bgat@billgatliff.com