This is the mail archive of the cygwin mailing list for the Cygwin 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]

Pthreads and GDB?


I went to GNU.org to read about GDB and threads since I'm having
trouble working with ptheads under GDB on Cygwin.  I notice this on
the GNU.org web site:

"Warning: These facilities are not yet available on every GDB
configuration where the operating system supports threads. If your GDB
does not support threads, these commands have no effect. For example,
a system without thread support shows no output from `info threads',
and always rejects the thread command, like this:"

What the level of support for threads with GDB under Cygwin?

Switching between threads causes seg-faults.  Also, I thought that
while you're stepping through one thread, the other threads weren't
running? Shouldn't I be able to set a breakpoint in a thread before
pthread_create() is invoked?  Doesn't appear to be the case?

---Jan

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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