Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/debug
diff options
context:
space:
mode:
authorAlain Magloire2003-11-20 17:23:03 -0500
committerAlain Magloire2003-11-20 17:23:03 -0500
commitfeb4ca7af060169c4c039f3e152361b3df109fc4 (patch)
tree87b40938f068a48a47c9a31e57052c02d1c4b290 /debug
parent3039c5061af389e5aeab7bc97d3eea4c3b76e821 (diff)
downloadorg.eclipse.cdt-feb4ca7af060169c4c039f3e152361b3df109fc4.tar.gz
org.eclipse.cdt-feb4ca7af060169c4c039f3e152361b3df109fc4.tar.xz
org.eclipse.cdt-feb4ca7af060169c4c039f3e152361b3df109fc4.zip
Remove unused parameters.
Diffstat (limited to 'debug')
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/MIPlugin.java9
1 files changed, 4 insertions, 5 deletions
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/MIPlugin.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/MIPlugin.java
index 3ff5eda8587..4f8afdc184a 100644
--- a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/MIPlugin.java
+++ b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/MIPlugin.java
@@ -136,7 +136,7 @@ public class MIPlugin extends Plugin {
}
}
- Process pgdb = getGDBProcess(args, program);
+ Process pgdb = getGDBProcess(args);
MISession session;
try {
@@ -187,7 +187,7 @@ public class MIPlugin extends Plugin {
} else {
args = new String[] {gdb, "--cd="+cwd.getAbsolutePath(), "--command="+gdbinit, "--quiet", "-nw", "-i", "mi1", "-c", core.getAbsolutePath(), program.getAbsolutePath()};
}
- Process pgdb = getGDBProcess(args, program);
+ Process pgdb = getGDBProcess(args);
MISession session;
try {
session = createMISession(pgdb, null, MISession.CORE);
@@ -220,7 +220,7 @@ public class MIPlugin extends Plugin {
} else {
args = new String[] {gdb, "--cd="+cwd.getAbsolutePath(), "--command="+gdbinit, "--quiet", "-nw", "-i", "mi1", program.getAbsolutePath()};
}
- Process pgdb = getGDBProcess(args, program);
+ Process pgdb = getGDBProcess(args);
MISession session;
try {
session = createMISession(pgdb, null, MISession.ATTACH);
@@ -293,11 +293,10 @@ public class MIPlugin extends Plugin {
* Do some basic synchronisation, gdb make take some time to load
* for whatever reasons.
* @param args
- * @param program
* @return Process
* @throws IOException
*/
- protected Process getGDBProcess(String[] args, File program) throws IOException {
+ protected Process getGDBProcess(String[] args) throws IOException {
final Process pgdb = ProcessFactory.getFactory().exec(args);
Thread syncStartup = new Thread("GDB Start") {
public void run() {

Back to the top