gdb apparently misses SIGTRAP

Sudhakar Gosukonda <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <CAND5LBoKYwNLofdssZD9VrEjFex+8rBCzTBE=WFSNmBYgrHAXg@mail.gmail.com>
Hi,

I have gdb-7.11.1. If I do step next ('n'), calls like epoll_wait and
sem_wait are hanging. In case of epoll_wait, in the wireshark trace I
could see the packets are received. From another terminal if I send
SIGTRAP then I get control back with the data being received.

Any ideas why this could be happening and more importantly how to avoid it?

thanks
sudhakar
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.