diff --git a/doc/org.eclipse.cdt.doc.user/contexts_CDT_DEBUGGER_DSFGDB.xml b/doc/org.eclipse.cdt.doc.user/contexts_CDT_DEBUGGER_DSFGDB.xml
new file mode 100644
index 00000000000..dab118ca0d0
--- /dev/null
+++ b/doc/org.eclipse.cdt.doc.user/contexts_CDT_DEBUGGER_DSFGDB.xml
@@ -0,0 +1,20 @@
+
+
+
+
+]>
+
+
+
+ Click below to see help.
+
+
+
+ Control the behavior of the C/C++ debugger when debugging with GDB, specifically when using a GDB (DSF) launcher.
+
+
+
+
+
diff --git a/doc/org.eclipse.cdt.doc.user/images/cdt_dsfgdb_preferences_page.png b/doc/org.eclipse.cdt.doc.user/images/cdt_dsfgdb_preferences_page.png
new file mode 100644
index 00000000000..98266a71fbe
Binary files /dev/null and b/doc/org.eclipse.cdt.doc.user/images/cdt_dsfgdb_preferences_page.png differ
diff --git a/doc/org.eclipse.cdt.doc.user/plugin.xml b/doc/org.eclipse.cdt.doc.user/plugin.xml
index c5f1f0b4e5c..21411bb44b8 100644
--- a/doc/org.eclipse.cdt.doc.user/plugin.xml
+++ b/doc/org.eclipse.cdt.doc.user/plugin.xml
@@ -80,6 +80,13 @@
plugin="org.eclipse.cdt.launch">
+
+
+
+
diff --git a/doc/org.eclipse.cdt.doc.user/reference/cdt_u_dsfgdb.htm b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_dsfgdb.htm
new file mode 100644
index 00000000000..60a59bb9b4c
--- /dev/null
+++ b/doc/org.eclipse.cdt.doc.user/reference/cdt_u_dsfgdb.htm
@@ -0,0 +1,34 @@
+
+
+
+
+
+
+ GDB Debugging Preferences
+
+
+
+
+
GDB Debugging Preferences
+
+
This preferences page lets you control how the CDT debugger behaves when debugging with GDB,
+specifically when using a GDB (DSF) launcher.
+The page is accessible at:
+Window > Preferences > C/C++ > Debug > GDB.
+
+
+
+
Enable GDB traces
+
When checked, the debug session will produce an additional console which will contain all the gdb/mi activity. Basically, this details the
+ interaction between the CDT debugger and GDB. This information is often critical when the debugger is not behaving as you expect. Turn this on and submit
+ the console output when submitting a bugzilla report against the CDT debugger.
+
+
Terminate GDB when last process exits
+
When checked, the CDT debugger will terminate the GDB host processs after all the target processes it is debugging have terminated. Otherwise it will leave it running.
+
Use Inspector Debug Hover
+
When checked, hovering over an expression in the editor during a debug session will bring up an enhanced expression evaluation control. Otherwise, a more basic control is used. This, of course, assumes that you have the debugger's hovering capability turned on in C/C++ > Editor > Hovers. If not, this checkbox has no effect.
+
+
+
+
+
\ No newline at end of file
diff --git a/doc/org.eclipse.cdt.doc.user/topics_Reference.xml b/doc/org.eclipse.cdt.doc.user/topics_Reference.xml
index 4d837f2e14d..75d7c499953 100644
--- a/doc/org.eclipse.cdt.doc.user/topics_Reference.xml
+++ b/doc/org.eclipse.cdt.doc.user/topics_Reference.xml
@@ -71,6 +71,7 @@
+
diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/preferences/GdbDebugPreferencePage.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/preferences/GdbDebugPreferencePage.java
index 8770c09eb4c..8ed55d4b6fd 100644
--- a/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/preferences/GdbDebugPreferencePage.java
+++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/preferences/GdbDebugPreferencePage.java
@@ -42,7 +42,7 @@ public class GdbDebugPreferencePage extends FieldEditorPreferencePage implements
@Override
public void createControl(Composite parent) {
super.createControl(parent);
- PlatformUI.getWorkbench().getHelpSystem().setHelp(getControl(), IGdbDebugPreferenceConstants.PREFERENCE_PAGE);
+ PlatformUI.getWorkbench().getHelpSystem().setHelp(getControl(), GdbUIPlugin.PLUGIN_ID + ".dsfgdb_preference_page"); //$NON-NLS-1$
}
@Override
@@ -106,4 +106,9 @@ public class GdbDebugPreferencePage extends FieldEditorPreferencePage implements
protected void adjustGridLayout() {
// do nothing
}
+
+ public void performHelp() {
+ // jjjjjjjjjjjjjjjj
+ super.performHelp();
+ }
}
diff --git a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/IGdbDebugPreferenceConstants.java b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/IGdbDebugPreferenceConstants.java
index d7be8e100f0..d768c7ab2e1 100644
--- a/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/IGdbDebugPreferenceConstants.java
+++ b/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/IGdbDebugPreferenceConstants.java
@@ -40,7 +40,5 @@ public interface IGdbDebugPreferenceConstants {
* Help prefixes.
*/
public static final String PREFIX = GdbPlugin.PLUGIN_ID + "."; //$NON-NLS-1$
-
- public static final String PREFERENCE_PAGE= PREFIX + "preference_page_context"; //$NON-NLS-1$
}