From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27470 invoked by alias); 22 Dec 2014 10:09:26 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 27460 invoked by uid 89); 22 Dec 2014 10:09:25 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=3.5 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: nm9-vm0.bullet.mail.bf1.yahoo.com Received: from nm9-vm0.bullet.mail.bf1.yahoo.com (HELO nm9-vm0.bullet.mail.bf1.yahoo.com) (98.139.213.154) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 22 Dec 2014 10:09:24 +0000 Received: from [98.139.215.142] by nm9.bullet.mail.bf1.yahoo.com with NNFMP; 22 Dec 2014 10:09:22 -0000 Received: from [98.139.212.219] by tm13.bullet.mail.bf1.yahoo.com with NNFMP; 22 Dec 2014 10:09:22 -0000 Received: from [127.0.0.1] by omp1028.mail.bf1.yahoo.com with NNFMP; 22 Dec 2014 10:09:22 -0000 Received: by 66.196.80.120; Mon, 22 Dec 2014 10:09:21 +0000 Date: Mon, 22 Dec 2014 10:09:00 -0000 From: Mahmood N Reply-To: Mahmood N To: "gdb@sourceware.org" Message-ID: <942706119.96593.1419242961644.JavaMail.yahoo@jws10627.mail.bf1.yahoo.com> Subject: Passing piped commands as argument to gdb MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-12/txt/msg00029.txt.bz2 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