Re: Passing piped commands as argument to gdb
Mahmood N <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <829998882.105409.1419244812763.JavaMail.yahoo@jws10620.mail.bf1.yahoo.com> |
Thanks. Generally it works. However, when I start the command, the program is run, I want to set a breakpoint at line 26 in my code which is the beginning of the readings However, here is what I get $ 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]) Should I say Y or N? Regards, Mahmood