Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlain Magloire2003-01-16 03:11:43 +0000
committerAlain Magloire2003-01-16 03:11:43 +0000
commit4a3dab250c29ac531e1759c9511014fa2948b094 (patch)
tree7d269da6f5ae53e8705473381af0ae54297b834b
parentc713d81de0b214fb3f9a17b52e21035ed8fced6f (diff)
downloadorg.eclipse.cdt-4a3dab250c29ac531e1759c9511014fa2948b094.tar.gz
org.eclipse.cdt-4a3dab250c29ac531e1759c9511014fa2948b094.tar.xz
org.eclipse.cdt-4a3dab250c29ac531e1759c9511014fa2948b094.zip
New file to send "info sharedlibrary"
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIInfoSharedLibrary.java40
1 files changed, 40 insertions, 0 deletions
diff --git a/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIInfoSharedLibrary.java b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIInfoSharedLibrary.java
new file mode 100644
index 00000000000..a8ecd873a58
--- /dev/null
+++ b/debug/org.eclipse.cdt.debug.mi.core/src/org/eclipse/cdt/debug/mi/core/command/MIInfoSharedLibrary.java
@@ -0,0 +1,40 @@
+/*
+ *(c) Copyright QNX Software Systems Ltd. 2002.
+ * All Rights Reserved.
+ *
+ */
+
+package org.eclipse.cdt.debug.mi.core.command;
+
+import org.eclipse.cdt.debug.mi.core.MIException;
+import org.eclipse.cdt.debug.mi.core.output.MIInfo;
+import org.eclipse.cdt.debug.mi.core.output.MIInfoSharedLibraryInfo;
+import org.eclipse.cdt.debug.mi.core.output.MIOutput;
+
+/**
+ *
+ * info threads
+ *
+ */
+public class MIInfoSharedLibrary extends CLICommand
+{
+ public MIInfoSharedLibrary() {
+ super("info sharedlibrary");
+ }
+
+ public MIInfoSharedLibraryInfo getMIInfoSharedLibraryInfo() throws MIException {
+ return (MIInfoSharedLibraryInfo)getMIInfo();
+ }
+
+ public MIInfo getMIInfo() throws MIException {
+ MIInfo info = null;
+ MIOutput out = getMIOutput();
+ if (out != null) {
+ info = new MIInfoSharedLibraryInfo(out);
+ if (info.isError()) {
+ throw new MIException(info.getErrorMsg());
+ }
+ }
+ return info;
+ }
+}

Back to the top