diff options
author | Mikhail Khodjaiants | 2006-02-07 20:51:02 +0000 |
---|---|---|
committer | Mikhail Khodjaiants | 2006-02-07 20:51:02 +0000 |
commit | 667a2e1442131542a69ea426334804d8864d57fa (patch) | |
tree | 01307e1bd464464f8d45ef5dcbe8cd993ef0e18a /debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/factories/linux/StandardLinuxCommandFactory.java | |
parent | 1eff9754a0a890818cd4d7600e4dfd03ef28feeb (diff) | |
download | org.eclipse.cdt-667a2e1442131542a69ea426334804d8864d57fa.tar.gz org.eclipse.cdt-667a2e1442131542a69ea426334804d8864d57fa.tar.xz org.eclipse.cdt-667a2e1442131542a69ea426334804d8864d57fa.zip |
Bug 114793: Add an extension point to contribute command factories. Added the standard command factory for Linux.
Diffstat (limited to 'debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/factories/linux/StandardLinuxCommandFactory.java')
-rw-r--r-- | debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/factories/linux/StandardLinuxCommandFactory.java | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/factories/linux/StandardLinuxCommandFactory.java b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/factories/linux/StandardLinuxCommandFactory.java new file mode 100644 index 00000000000..099e7b0bd52 --- /dev/null +++ b/debug/org.eclipse.cdt.debug.mi.core/mi/org/eclipse/cdt/debug/mi/core/command/factories/linux/StandardLinuxCommandFactory.java @@ -0,0 +1,41 @@ +/********************************************************************** + * 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 Common Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/cpl-v10.html + * + * Contributors: + * QNX Software Systems - Initial API and implementation +***********************************************************************/ +package org.eclipse.cdt.debug.mi.core.command.factories.linux; + +import org.eclipse.cdt.debug.mi.core.command.CLIInfoSharedLibrary; +import org.eclipse.cdt.debug.mi.core.command.factories.StandardCommandFactory; + +/** + * Command factory for the standard gdb/mi protocol for Linux. + */ +public class StandardLinuxCommandFactory extends StandardCommandFactory { + + /** + * Constructor for StandardLinuxCommandFactory. + */ + public StandardLinuxCommandFactory() { + super(); + } + + /** + * Constructor for StandardLinuxCommandFactory. + */ + public StandardLinuxCommandFactory( String miVersion ) { + super( miVersion ); + } + + /* (non-Javadoc) + * @see org.eclipse.cdt.debug.mi.core.command.CommandFactory#createCLIInfoSharedLibrary() + */ + public CLIInfoSharedLibrary createCLIInfoSharedLibrary() { + return new LinuxCLIInfoSharedLibrary(); + } +} |