This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
RE: Command echo from script files
- From: "Madhvesh R S" <madhvesh dot s at ap dot sony dot com>
- To: "Bill Gatliff" <bgat at billgatliff dot com>, <gdb at sources dot redhat dot com>
- Date: Wed, 1 Sep 2004 10:59:16 +0530
- Subject: RE: Command echo from script files
- Reply-to: <madhvesh dot s at ap dot sony dot com>
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