bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problem with cont for multi-threaded program


From: Martin Percossi
Subject: problem with cont for multi-threaded program
Date: Wed, 19 Sep 2001 17:34:16 +0100

I'm having a problem debugging in gdb. It seems that when I press CTRL-C
to interrupt the program, gdb suspends or stops EVERY thread (of which
there are quite a few). When I type 'c' or 'continue', execution resumes
for that thread only. This means I must type c ( and return of course )
many times, which is no one's idea of fun. Searching the documentation,
I found out that you can apply a command to a list of threads. So I do:

thread apply all continue

to apply the command 'continue' to all threads.
But instead of resuming execution, I get (after several succesful
'continues' on some threads:

ptrace in stop_thread: Operation not permitted.

for one particular thread.

What's going on here?

TIA
Martin.

-- 
Martin Percossi
Development
RiverSoft Ltd.
address@hidden
Tel. 020 8392 5740 Ext. 5724

Email disclaimer
The information in this email is confidential and may be legally
privileged.
It is intended solely for the addressee. Access to this email by anyone
else
is unauthorised. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in
reliance
of it, is prohibited and may be unlawful.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]