Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] Suspend button

Norbert,

	Thanks. The tip of ^C was really helpful. 

	I am actually trying to start the GDB through rsh instead of telnet- ing to the box & running the GDB command line.
	
	I am seeing this error only when I start through rsh . Otherwise ^c is working fine.

	

Thanks,
Bala  

-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Ploett, Norbert
Sent: Tuesday, September 13, 2005 11:11 AM
To: CDT General developers list.
Subject: AW: [cdt-dev] Suspend button

Bala,

if your setup is somewhat like mine (developping on Linux) then the "trick" is that no command is sent to gdb. eclipse starts a gdb
process and talks to it via stdin / stdout, but for suspend it sends a SIGINT to the gdb process. This is identical in effect to
pressing ^C on the command line. That's why you do not see any commands in the debug trace.

Since you are getting an error message it seems that gdb is indeed trying to stop the program being debugged, but runs into a
permissions problem. I did not see what you are describing before.

Maybe you can try to start gdb directly from the command line (without eclipse) and see whether suspending the program from there
results in the same message. If this is the case then eclipse will probably not be able to do anything for you.

Greetings,


Norbert 

-----Ursprüngliche Nachricht-----
Von: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] Im Auftrag von BALASUBRAMANIYAN K
Gesendet: Dienstag, 13. September 2005 06:26
An: 'CDT General developers list.'
Betreff: [cdt-dev] Suspend button


Hi,
 
 When I click on Suspend button on a thread which is running, I am seeing the following message 
 
 ""Ttrace stop of all threads : Permission denied".
 
 When I enabled the debug trace, I could not find the command that is being sent to the GDB when a Suspend button is pushed. 
 
 Can anybody tell me what this error message mean & what is the command that is being sent to the GDB when "Suspend" button is
pressed ?
 
 
 
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





Back to the top