From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6953 invoked by alias); 22 Dec 2014 14:43:35 -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 6943 invoked by uid 89); 22 Dec 2014 14:43:34 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=2.0 required=5.0 tests=AWL,BAYES_40,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: nm40-vm4.bullet.mail.bf1.yahoo.com Received: from nm40-vm4.bullet.mail.bf1.yahoo.com (HELO nm40-vm4.bullet.mail.bf1.yahoo.com) (72.30.239.212) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 22 Dec 2014 14:43:33 +0000 Received: from [98.139.212.151] by nm40.bullet.mail.bf1.yahoo.com with NNFMP; 22 Dec 2014 14:43:31 -0000 Received: from [98.139.212.249] by tm8.bullet.mail.bf1.yahoo.com with NNFMP; 22 Dec 2014 14:43:31 -0000 Received: from [127.0.0.1] by omp1058.mail.bf1.yahoo.com with NNFMP; 22 Dec 2014 14:43:31 -0000 Received: by 66.196.81.110; Mon, 22 Dec 2014 14:43:30 +0000 Date: Mon, 22 Dec 2014 14:43:00 -0000 From: Mahmood N Reply-To: Mahmood N To: Jan Kratochvil Cc: "gdb@sourceware.org" Message-ID: <993728742.194204.1419259380485.JavaMail.yahoo@jws106122.mail.bf1.yahoo.com> In-Reply-To: <20141222135517.GA18541@host2.jankratochvil.net> References: <20141222135517.GA18541@host2.jankratochvil.net> Subject: Re: 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/msg00033.txt.bz2 Yes I know. As I said in my previous email, your method generally works and I tested that. This is a different problem. What you wrote, and what I tested results in the execution of the program under gdb. So it start and run the program. Now, I want to first set a breakpoint then run the program under gdb. Pasting the commands one more time, I get this error $ g++ -g -ggdb -o dir-pred dir-pred.cpp $ rm pipe $ mknod pipe p $ bzcat file.bz2 > pipe & [1] 18321 $ gdb GNU gdb (GDB) Red Hat Enterprise Linux (7.2-60.el6) (gdb) break dir-pred.cpp:26 No symbol table is loaded. Use the "file" command. Make breakpoint pending on future shared library load? (y or [n]) Regards, Mahmood