Re: Passing piped commands as argument to gdb

Jan Kratochvil <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
On Mon, 22 Dec 2014 11:09:21 +0100, Mahmood N wrote:
> 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

mknod pipe p
bzcat file.bz2 >pipe &
gdb ./run_prog -ex 'run <pipe 6'


Jan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.