From: "Madhvesh R S" <madhvesh.s@ap.sony.com>
To: "Bill Gatliff" <bgat@billgatliff.com>, <gdb@sources.redhat.com>
Subject: RE: Command echo from script files
Date: Wed, 01 Sep 2004 05:23:00 -0000 [thread overview]
Message-ID: <KOEHICDJJPPACMHFKDFJKEBKCOAA.madhvesh.s@ap.sony.com> (raw)
In-Reply-To: <4135587F.6060100@billgatliff.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
next prev parent reply other threads:[~2004-09-01 5:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-01 5:05 Bill Gatliff
2004-09-01 5:23 ` Madhvesh R S [this message]
2004-09-01 6:57 ` Monika Chaddha
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=KOEHICDJJPPACMHFKDFJKEBKCOAA.madhvesh.s@ap.sony.com \
--to=madhvesh.s@ap.sony.com \
--cc=bgat@billgatliff.com \
--cc=gdb@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox