From: Mahmood N <nt_mahmood@yahoo.com>
To: "gdb@sourceware.org" <gdb@sourceware.org>
Subject: Passing piped commands as argument to gdb
Date: Mon, 22 Dec 2014 10:09:00 -0000 [thread overview]
Message-ID: <942706119.96593.1419242961644.JavaMail.yahoo@jws10627.mail.bf1.yahoo.com> (raw)
Hi
I have a large bz file which is piped to a program like this
bzcat file.bz2 |./run_prog 6
Now I want to use gdb, however the following command fails
gdb --args bzcat file.bz2 |./run_prog 6
What is the correct format?
Regards,
Mahmood
next reply other threads:[~2014-12-22 10:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-22 10:09 Mahmood N [this message]
2014-12-22 10:16 ` Jan Kratochvil
2014-12-22 10:40 ` Mahmood N
2014-12-22 13:55 ` Jan Kratochvil
2014-12-22 14:43 ` Mahmood N
2014-12-22 14:46 ` Jan Kratochvil
2014-12-22 17:20 ` Mahmood N
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=942706119.96593.1419242961644.JavaMail.yahoo@jws10627.mail.bf1.yahoo.com \
--to=nt_mahmood@yahoo.com \
--cc=gdb@sourceware.org \
/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