Passing piped commands as argument to gdb

Mahmood N nt_mahmood@yahoo.com
Mon Dec 22 10:09:00 GMT 2014


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



More information about the Gdb mailing list