Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/debug
diff options
context:
space:
mode:
authorDoug Schaefer2007-08-28 20:38:03 +0000
committerDoug Schaefer2007-08-28 20:38:03 +0000
commita00f0ded40737be55e0c54d6aee369d2f3f7bbce (patch)
tree8dee1cbd9fb5ec436e2e50edb2f6ac0311fe4842 /debug
parent48c59df30611e38ebdaca7e5b0083e08cd9a42e2 (diff)
downloadorg.eclipse.cdt-a00f0ded40737be55e0c54d6aee369d2f3f7bbce.tar.gz
org.eclipse.cdt-a00f0ded40737be55e0c54d6aee369d2f3f7bbce.tar.xz
org.eclipse.cdt-a00f0ded40737be55e0c54d6aee369d2f3f7bbce.zip
Bug 196002 - Set up the mapping from the gdb/mi debugger to the gnu toolchain. Also map the cygwin debugger to the cygwin toolchain. Fix up the launch shortcut so that the longest matching pattern wins the day since both cygwin and mingw would get trumped by the main gnu one. With this single click debug works on Linux.
Diffstat (limited to 'debug')
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/plugin.xml22
1 files changed, 15 insertions, 7 deletions
diff --git a/debug/org.eclipse.cdt.debug.mi.core/plugin.xml b/debug/org.eclipse.cdt.debug.mi.core/plugin.xml
index 5f38212bddc..118ec607ac7 100644
--- a/debug/org.eclipse.cdt.debug.mi.core/plugin.xml
+++ b/debug/org.eclipse.cdt.debug.mi.core/plugin.xml
@@ -11,14 +11,22 @@
id="org.eclipse.cdt.debug.mi.core.CDebuggerNew"
modes="run,core,attach"
name="%GDBMIDebugger.name"
- platform="*"/>
+ platform="*">
+ <buildIdPattern
+ pattern="cdt\.managedbuild\.config\.gnu\..*">
+ </buildIdPattern>
+ </debugger>
<debugger
- platform="win32"
- name="%CygwinGDBDebugger.name"
- modes="run,core,attach"
- cpu="native"
class="org.eclipse.cdt.debug.mi.core.CygwinGDBCDIDebugger2"
- id="org.eclipse.cdt.debug.mi.core.CygwinCDebugger"/>
+ cpu="native"
+ id="org.eclipse.cdt.debug.mi.core.CygwinCDebugger"
+ modes="run,core,attach"
+ name="%CygwinGDBDebugger.name"
+ platform="win32">
+ <buildIdPattern
+ pattern="cdt\.managedbuild\.config\.gnu\.cygwin\..*">
+ </buildIdPattern>
+ </debugger>
<debugger
platform="*"
name="%GDBServer.name"
@@ -41,7 +49,7 @@
name="%MinGWDebugger.name"
platform="win32">
<buildIdPattern
- pattern="cdt\.managedbuild\.config\.gnu\.mingw.*">
+ pattern="cdt\.managedbuild\.config\.gnu\.mingw\..*">
</buildIdPattern>
</debugger>
</extension>

Back to the top