Re: Passing piped commands as argument to gdb
Mahmood N <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <993728742.194204.1419259380485.JavaMail.yahoo@jws106122.mail.bf1.yahoo.com> |
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