[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-dev] Detaching a running process when the thread is running
|
Bala,
We use the "detach" gdb command to detach a process. gdb accepts commands
only if the process is suspended.
Mikhail
----- Original Message -----
From: "Balasubramaniyan K" <balask@xxxxxxxxxxxx>
To: "'CDT General developers list.'" <cdt-dev@xxxxxxxxxxx>
Sent: Wednesday, October 19, 2005 9:40 AM
Subject: [cdt-dev] Detaching a running process when the thread is running
Hi Team,
Based on how Eclipse behaves, I came up with an assumption. I
would like to get it evaluated through you if the assumption
is right.
Steps :
(a) I have a running process.
(b) Start the GDB. Attach the running process of step 1.
(c) Now press next so that the "Thread" of the process
is in the state "Running"
(d) Now detach the running process. The process can not
be detached if a thread is Running state. Is this
assumption right ?
I am getting "Target Request failed"
You can detach the running process if the thread is
other states like "Suspend"
Warm Regards
Bala
-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On Behalf Of Mikhail Khodjaiants
Sent: Tuesday, October 18, 2005 9:16 PM
To: CDT General developers list.
Subject: Re: [cdt-dev] Expanding Modules View throws SWTError. No more
handlesfor big executable
Bala,
When you create a resource (image, font, etc.) on Windows the system
allocates a handle. The handle is deallocated when the resource
is released.
The number of handles is limited. This means that one (or more) of the
plugins installed in your Eclipse is leaking resources.
You can use the SWT tool called Sleak to track the allocation and
disposal of resources. It is available to download from the
Eclipse/SWT site.
Mikhail
----- Original Message -----
From: "Balasubramaniyan K" <balask@xxxxxxxxxxxx>
To: "'CDT General developers list.'" <cdt-dev@xxxxxxxxxxx>
Sent: Tuesday, October 18, 2005 3:53 AM
Subject: [cdt-dev] Expanding Modules View throws SWTError. No more
handles for big executable
Hi,
I am doing a remote debugging of GDB source code. As all of us know,
in the modules view, we can expand the tree of the executable that is
loaded. My GDB executable has alteast 300 elements within it. The SWT
is not able to handle this much load on Windows XP & I get an
exception
"org.eclipse.swt.SWTError: No more handles" as attached in this email.
This does not happen on RedHat Linux though it takes some time.
Any pointers to resolve or has anybody encountered similar issues ?
Warm Regards
Bala
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev