This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
RE: "Show command execution list"
- From: "Monika Chaddha" <monika at acmet dot com>
- To: "'Xinan Tang'" <xinan at TidalNetworks dot net>
- Cc: <acmet at vsnl dot net>, <gdb at sources dot redhat dot com>
- Date: Thu, 23 Sep 2004 13:16:08 +0530
- 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