[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-patch] Core support of function and method breakpoints
|
>
> This message is in MIME format. Since your mail reader does not understand
> this format, some or all of this message may not be legible.
>
> ------_=_NextPart_001_01C30209.C4B2CFC0
> Content-Type: text/plain;
> charset="iso-8859-1"
>
> FYI, I use the 1.3.1 JDK and StringBuffer::indexOf() exists only in Java
> 1.4.
>
Agreed, fix in CVS, patch below.
Index: ChangeLog
===================================================================
RCS file: /home/tools/org.eclipse.cdt.debug.core/ChangeLog,v
retrieving revision 1.163
diff -u -r1.163 ChangeLog
--- ChangeLog 11 Apr 2003 22:28:54 -0000 1.163
+++ ChangeLog 14 Apr 2003 17:56:32 -0000
@@ -1,3 +1,9 @@
+2003-04-14 Alain Magloire
+
+ StringBuffer.indexOf() is 1.4.x only
+
+ * CDebugUtils.java
+
2003-04-11 Mikhail Khodjaiants
Core support of function and method breakpoints.
* CDebugModel.java
Index: src/org/eclipse/cdt/debug/internal/core/CDebugUtils.java
===================================================================
RCS file: /home/tools/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/CDebugUtils.java,v
retrieving revision 1.10
diff -u -r1.10 CDebugUtils.java
--- src/org/eclipse/cdt/debug/internal/core/CDebugUtils.java 11 Apr 2003 22:28:54 -0000 1.10
+++ src/org/eclipse/cdt/debug/internal/core/CDebugUtils.java 14 Apr 2003 17:56:33 -0000
@@ -309,8 +309,9 @@
public static String getFunctionName( IFunction function )
{
- StringBuffer name = new StringBuffer( function.getElementName() );
- if ( name.indexOf( "::" ) != -1 )
+ String functionName = function.getElementName();
+ StringBuffer name = new StringBuffer( functionName );
+ if ( functionName.indexOf( "::" ) != -1 )
{
String[] params = function.getParameterTypes();
name.append( '(' );