From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16579 invoked by alias); 23 Sep 2004 12:26:01 -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 16565 invoked from network); 23 Sep 2004 12:25:59 -0000 Received: from unknown (HELO alice.acmet.com) (61.16.238.202) by sourceware.org with SMTP; 23 Sep 2004 12:25:59 -0000 Received: from monika (localhost.acmet.com [127.0.0.1]) by alice.acmet.com (8.11.6/8.11.6) with ESMTP id i8N7sNc29409; Thu, 23 Sep 2004 13:24:23 +0530 From: "Monika Chaddha" To: "'Xinan Tang'" Cc: , Subject: RE: "Show command execution list" Date: Thu, 23 Sep 2004 12:26:00 -0000 Message-ID: <000001c4a141$6445d1e0$5100a8c0@monika> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: <52BBA75459915749B68F93B604B636CD0666F0@neptune.TidalNetworks.net> X-SW-Source: 2004-09/txt/msg00199.txt.bz2 I can suggest one temporary method:- Suppose there is a command to be execute in command script file as "target exec $arg0" Now we want to execute it as well as want to see this command on console Than put one echo command just before this in the following manner for the above command "echo target exec $arg0" Now the command to be executed will print first on the console and than it will execute. The commands given to GDB from a script file can be seen on the console. Will this trick help? Regards Monika >-----Original Message----- >From: gdb-owner@sources.redhat.com [mailto:gdb-owner@sources.redhat.com] On >Behalf Of Xinan Tang >Sent: Thursday, September 23, 2004 8:27 AM >To: gdb@sources.redhat.com >Subject: "Show command execution list" > >Hi > > When starting GDB with '-x command-file', the list of commands being >executed will not be shown anymore. Is it possible to display those >commands on the screen? > > What I want is to show those commands on the screen not on a log file. > >Thanks > >--Xinan