Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] Request to make certain methods public

Mikhail,

	Thanks for your question. I am sorry I could not respond to you yesterday.
	
	I would like to make the methods public so that I could extend it for the Remote Debugging purposes.
	If I understant right, for Suspend/ Resume operation, ^C character is being sent to the GDB. But if start a GDB using
certain protocol like "rsh" & send a "^C" character , then it kills the 	rsh instead of sending the character to the GDB.
This happens especially in rsh on Windows XP. To avoid this scenario, I have to extend the MIInferior & 
	re-write the interrupt method to send "kill -SIGINT " to the GDB process. This is similar to sending "^C" character. 

	Inorder to extend the MIInferior, I want to first set my MYMIinferior in MISession.java & that is the reason why I want the
methods to be public

	
	I am getting a NPE if I don't have the NPE check. I am seeing the following in the GDB trace. I am not sure why the NPE is
coming. 

	[1,129,030,333,558] 1-gdb-set confirm off
	[1,129,030,333,574] 1^done
	java.lang.NullPointerException
		at org.eclipse.cdt.debug.mi.core.RxThread.setPrompt(RxThread.java:141)
		at org.eclipse.cdt.debug.mi.core.RxThread.run(RxThread.java:93)

	


Thanks,
Bala  

-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Mikhail Khodjaiants
Sent: Friday, October 07, 2005 9:18 PM
To: CDT General developers list.
Subject: Re: [cdt-dev] Request to make certain methods public

Bala,

Could you please explain the purpose of making these methods public? It will be helpful for the future and we may come up with a
better solution.
And, please, make a new bug for the NPE condition with the explanation why it is happening.

Thank you,
Mikhail Khodjaiants

----- Original Message -----
From: "Balasubramaniyan K" <balask@xxxxxxxxxxxx>
To: "'CDT General developers list.'" <cdt-dev@xxxxxxxxxxx>
Sent: Thursday, October 06, 2005 8:16 AM
Subject: [cdt-dev] Request to make certain methods public


>
>
> Hi,
>
> I had requested to make certain methods public in the bug
> 109733.(https://bugs.eclipse.org/bugs/show_bug.cgi?id=109733)
>
> It would be very helpful if you could consider this request.
>
>   I request you to make the following changes :
>      (a) Constructor as public in MIInferior.java
>      (b) To add a setter for MIInferior in the file
> MISession.java
>      (c) To handle the NPE condition for line & parser in the
> setPrompt method
> of RxThread.java
>
> 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