1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 08:55:25 +02:00

Bug 119683: long messages during launch cause gdb to timeout, launch to fail. New "createSession" method accepts File instead of IBinaryObject.

This commit is contained in:
Mikhail Khodjaiants 2006-01-23 20:21:52 +00:00
parent 5e3cdd0b2e
commit dd546cab07
3 changed files with 44 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2006-01-23 Mikhail Khodjaiants
Bug 119683: long messages during launch cause gdb to timeout, launch to fail.
New "createSession" method accepts File instead of IBinaryObject.
* ICDIDebugger.java
+ ICDIDebugger2.java
2006-01-15 Mikhail Khodjaiants
Bug 123745: Disassembly view can get into endless loop.
* DisassemblyBlock.java

View file

@ -16,8 +16,14 @@ import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.debug.core.ILaunch;
/**
* @deprecated use <code>ICDIDebugger2</code>.
*/
public interface ICDIDebugger {
/**
* @deprecated use <code>createSession</code> of <code>ICDIDebugger2</code>
*/
public ICDISession createDebuggerSession(ILaunch launch, IBinaryObject exe, IProgressMonitor monitor) throws CoreException;
}

View file

@ -0,0 +1,31 @@
/*******************************************************************************
* Copyright (c) 2004 QNX Software Systems and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* QNX Software Systems - Initial API and implementation
*******************************************************************************/
package org.eclipse.cdt.debug.core;
import java.io.File;
import org.eclipse.cdt.debug.core.cdi.ICDISession;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.debug.core.ILaunch;
/**
* Replacement for deprecated <code>ICDIDebugger</code>.
*
* @since 3.1 experimental
*/
public interface ICDIDebugger2 extends ICDIDebugger {
/**
* <code>null</code> can be passed as <code>executable</code> allowing debuggers to create session without executables,
* or load executables later during the session.
*/
public ICDISession createSession(ILaunch launch, File executable, IProgressMonitor monitor) throws CoreException;
}