Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » adding toolchain specific GDB
adding toolchain specific GDB [message #99028] Wed, 07 April 2004 09:36
Eclipse UserFriend
Originally posted by: Juan.Abreu.spirentcom.com

Hello All,
I've been trying to add a specific toolchain functionality to my CDT
perspective. I'm using Eclipse 3.0 M7 and CDT 2.0 M7. I have sucessfully
added a plugin for new target builds and configurations using my toolchain.
However, I've had no luck in getting the debug launcher to work for the new
toolchain or target builds.

I've tried the suggestions made by alain (search for m68k) and Jorgen
Birkler
(search for AVR) in two seperate postings, regarding what is needed for a
new
debugger to be recognized. No luck. I've made two major attempts (with a
billion tangents) at plugging in new toolchain debugger functionality.
First
was to (using the PDE) create a simple plugin project and defining the
following (as per Jorgen's suggestion):

<plugin>
<extension
point="org.eclipse.cdt.debug.core.CDebugger">
<debugger
platform="native"
name="Arabella GDB Debugger"
modes="run,core,attach"
cpu="none,PowerPC,ppc"
class="org.eclipse.cdt.debug.mi.core.GDBDebugger"
id="org.eclipse.cdt.debug.mi.core.CDebugger">
</debugger>
</extension>

</plugin>

Applying this plugin for my toolchain works in that the debugger options
allow
me to select my toolchain GDB. But, when I try to launch the debugger I get
"... unable to load class org.eclipse.cdt.debug.mi.core.GDBDebugger"

I've also attempted to create the plugin as a java project in which I define
my own class extending the GDBDebugger class (uses cdtmicore.jar). This
seemed like a more correct answer to me, but resulted in the same type of
error upon launching the debugger. Instead now I get rejected on my class.
"... unable to load class
spirent.eclipse.cdt.debug.arabella.ArabellaPpcGDBDebugger"

My apologies for the verbosity of this posting. I look forward to any
suggestions. Thank you.
Juan
Previous Topic:Ext. Connection Method
Next Topic:[clean] Error 1
Goto Forum:
  


Current Time: Thu May 01 23:26:04 EDT 2025

Powered by FUDForum. Page generated in 0.03211 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top