This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Passing piped commands as argument to gdb


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]