Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-patch] Builder close the input stream

2002-12-13 Alain Magloire

        Building will never write to the process.  having things like
        all:
                b='a'; read b; echo $$b
        could hang the IDE, since the process is waiting for input.
        to go around, the input of the process is explicitely close.

        * src/.../internal/core/CBuilder.java (invokeMake): Close the
        Output stream of the process, since we will never write to it.


Index: ChangeLog
===================================================================
RCS file: /home/tools/org.eclipse.cdt.debug.core/ChangeLog,v
retrieving revision 1.71
diff -u -r1.71 ChangeLog
--- ChangeLog	5 Dec 2002 16:02:07 -0000	1.71
+++ ChangeLog	11 Dec 2002 16:01:22 -0000
@@ -1,3 +1,8 @@
+2002-12-11 Alain Magloire
+
+	* src/org/eclipse/cdt/debug/core/cdi/model/ICDIVariable.java (setFormat):
+	Change the format to ICDIFormat, i.e. hexa, octal etc ..
+
 2002-12-05 Alain Magloire
 
 	Some debuggers like gdb/mi can provide detail information, for example
Index: src/org/eclipse/cdt/debug/core/cdi/model/ICDIVariable.java
===================================================================
RCS file: /home/tools/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/model/ICDIVariable.java,v
retrieving revision 1.3
diff -u -r1.3 ICDIVariable.java
--- src/org/eclipse/cdt/debug/core/cdi/model/ICDIVariable.java	20 Aug 2002 04:12:30 -0000	1.3
+++ src/org/eclipse/cdt/debug/core/cdi/model/ICDIVariable.java	11 Dec 2002 16:01:22 -0000
@@ -62,4 +62,13 @@
 	 * @throws CDIException if this method fails.  Reasons include:
 	 */
 	void setValue(ICDIValue value) throws CDIException;
+	
+	/**
+	 * Set the format of the variable.
+	 * 
+	 * @param format - @see ICDIFormat
+	 * @throws CDIException if this method fails.
+	 */
+	void setFormat(int format) throws CDIException;
+
 }



Back to the top