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]

Re: Passing piped commands as argument to gdb


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


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