From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19883 invoked by alias); 23 Sep 2004 16:44:33 -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 19606 invoked from network); 23 Sep 2004 16:44:31 -0000 Received: from unknown (HELO neptune.TidalNetworks.net) (67.114.153.34) by sourceware.org with SMTP; 23 Sep 2004 16:44:31 -0000 Content-class: urn:content-classes:message Subject: RE: "Show command execution list" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Thu, 23 Sep 2004 16:44:00 -0000 Message-ID: <52BBA75459915749B68F93B604B636CD0666F1@neptune.TidalNetworks.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Xinan Tang" To: "Monika Chaddha" Cc: X-SW-Source: 2004-09/txt/msg00204.txt.bz2 Hi Monika, Thanks for your reply. That is exactly what I have been doing right for the moment. I wonder whether there is a better solution. Thanks --Xinan -----Original Message----- From: Monika Chaddha [mailto:monika@acmet.com]=20 Sent: Thursday, September 23, 2004 12:46 AM To: Xinan Tang Cc: acmet@vsnl.net; gdb@sources.redhat.com Subject: RE: "Show command execution list" 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