1
/*******************************************************************************
2
* Copyright (c) 2000, 2009 QNX Software Systems and others.
3
* All rights reserved. This program and the accompanying materials
4
* are made available under the terms of the Eclipse Public License v1.0
5
* which accompanies this distribution, and is available at
6
* http://www.eclipse.org/legal/epl-v10.html
9
* QNX Software Systems - Initial API and implementation
10
* Ericsson - Modified for new DSF Reference Implementation
11
*******************************************************************************/
13
package org.eclipse.cdt.dsf.mi.service.command.commands;
16
import org.eclipse.cdt.dsf.debug.service.IModules.IModuleDMContext;
17
import org.eclipse.cdt.dsf.debug.service.IModules.ISymbolDMContext;
18
import org.eclipse.cdt.dsf.mi.service.command.output.CLIInfoSharedLibraryInfo;
19
import org.eclipse.cdt.dsf.mi.service.command.output.MIInfo;
20
import org.eclipse.cdt.dsf.mi.service.command.output.MIOutput;
27
public class CLIInfoSharedLibrary extends CLICommand<CLIInfoSharedLibraryInfo> {
29
public CLIInfoSharedLibrary(ISymbolDMContext ctx) {
30
super(ctx, "info sharedlibrary"); //$NON-NLS-1$
32
public CLIInfoSharedLibrary(IModuleDMContext ctx) {
33
super(ctx, "info sharedlibrary"); //$NON-NLS-1$
36
public CLIInfoSharedLibraryInfo getResult(MIOutput output) {
37
return (CLIInfoSharedLibraryInfo)getMIInfo(output);
40
public MIInfo getMIInfo(MIOutput out) {
43
info = new CLIInfoSharedLibraryInfo(out);