Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Remote debugging with gdb gives internal error.
Remote debugging with gdb gives internal error. [message #139518] Thu, 24 February 2005 10:19 Go to next message
Pelle Svensson is currently offline Pelle SvenssonFriend
Messages: 77
Registered: July 2009
Member
Hi

I'm trying to debug an application remotely on a ARM platform.

On the Eclipse platform I have added a new Configuration under Run/Debug/Configurations.
At Debugger I have setup 'GDB debugger' as GDB Server using a path to to the
ARM targeted version of GDB as '/opt/gdb/arm-6.3/bin/arm-unknown-linux-gnu-gdb'
and Connection is set to TCP.
On the Main tab the actual 'C/C++ Application' is set to the binary output of the project/application.

On the Remote ARM platform I'm using 'gdbserver [host:port] [application]

As a result of this I get an internal Eclipse error when I try to debug.
On the ARM platform I can see that there is a connection between the Eclipse
debugger and the remote platform, but that is all.

This is the internal error:

!ENTRY org.eclipse.core.runtime 4 2 2005-02-24 10:57:09.315
!MESSAGE An internal error occurred during: "Launching".
!STACK 0
java.lang.NoClassDefFoundError: org/eclipse/debug/internal/core/memory/IExtendedMemoryBlockR etrieval
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at org.eclipse.osgi.framework.internal.defaultadaptor.DefaultCl assLoader.defineClass(DefaultClassLoader.java:298)
at org.eclipse.core.runtime.adaptor.EclipseClassLoader.defineCl ass(EclipseClassLoader.java:223)
at org.eclipse.osgi.framework.internal.defaultadaptor.DefaultCl assLoader.findClassImpl(DefaultClassLoader.java:281)
at org.eclipse.osgi.framework.internal.defaultadaptor.DefaultCl assLoader.findClass(DefaultClassLoader.java:172)
at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. findLocalClass(AbstractClassLoader.java:220)
at org.eclipse.core.runtime.adaptor.EclipseClassLoader.basicFin dLocalClass(EclipseClassLoader.java:135)
at org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLoca lClass(EclipseClassLoader.java:59)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:371)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:402)
at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. loadClass(AbstractClassLoader.java:93)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319 )
at org.eclipse.cdt.debug.internal.core.model.CDebugTarget.<init >(CDebugTarget.java:243)
at org.eclipse.cdt.debug.core.CDIDebugModel$1.run(CDIDebugModel .java:96)
at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1674)
at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1694)
at org.eclipse.cdt.debug.core.CDIDebugModel.newDebugTarget(CDID ebugModel.java:107)
at org.eclipse.cdt.launch.internal.LocalRunLaunchDelegate.launc h(LocalRunLaunchDelegate.java:102)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:588)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:513)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(D ebugUIPlugin.java:738)
at org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlu gin.java:910)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)


Do I need to add something else to get it working?

BR
Pelle
Re: Remote debugging with gdb gives internal error. [message #139555 is a reply to message #139518] Thu, 24 February 2005 13:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mikhailkhod.rogers.com

You are using CDT 2.1 with Eclipse 3.1. CDT 2.1 is intended to work with
Eclipse 3.0.x.

"SpeedadeYxa" <pelle2004@hotmail.com> wrote in message
news:cvk994$5d9$1@www.eclipse.org...
>
> Hi
>
> I'm trying to debug an application remotely on a ARM platform.
>
> On the Eclipse platform I have added a new Configuration under
Run/Debug/Configurations.
> At Debugger I have setup 'GDB debugger' as GDB Server using a path to to
the
> ARM targeted version of GDB as
'/opt/gdb/arm-6.3/bin/arm-unknown-linux-gnu-gdb'
> and Connection is set to TCP.
> On the Main tab the actual 'C/C++ Application' is set to the binary output
of the project/application.
>
> On the Remote ARM platform I'm using 'gdbserver [host:port] [application]
>
> As a result of this I get an internal Eclipse error when I try to debug.
> On the ARM platform I can see that there is a connection between the
Eclipse
> debugger and the remote platform, but that is all.
>
> This is the internal error:
>
> !ENTRY org.eclipse.core.runtime 4 2 2005-02-24 10:57:09.315
> !MESSAGE An internal error occurred during: "Launching".
> !STACK 0
> java.lang.NoClassDefFoundError:
org/eclipse/debug/internal/core/memory/IExtendedMemoryBlockR etrieval
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
> at
org.eclipse.osgi.framework.internal.defaultadaptor.DefaultCl assLoader.define
Class(DefaultClassLoader.java:298)
> at
org.eclipse.core.runtime.adaptor.EclipseClassLoader.defineCl ass(EclipseClass
Loader.java:223)
> at
org.eclipse.osgi.framework.internal.defaultadaptor.DefaultCl assLoader.findCl
assImpl(DefaultClassLoader.java:281)
> at
org.eclipse.osgi.framework.internal.defaultadaptor.DefaultCl assLoader.findCl
ass(DefaultClassLoader.java:172)
> at
org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. findLocalClass(A
bstractClassLoader.java:220)
> at
org.eclipse.core.runtime.adaptor.EclipseClassLoader.basicFin dLocalClass(Ecli
pseClassLoader.java:135)
> at
org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLoca lClass(EclipseCl
assLoader.java:59)
> at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleL
oader.java:371)
> at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader
..java:402)
> at
org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. loadClass(Abstra
ctClassLoader.java:93)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319 )
> at
org.eclipse.cdt.debug.internal.core.model.CDebugTarget.<init >(CDebugTarget.j
ava:243)
> at org.eclipse.cdt.debug.core.CDIDebugModel$1.run(CDIDebugModel .java:96)
> at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1674)
> at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1694)
> at
org.eclipse.cdt.debug.core.CDIDebugModel.newDebugTarget(CDID ebugModel.java:1
07)
> at
org.eclipse.cdt.launch.internal.LocalRunLaunchDelegate.launc h(LocalRunLaunch
Delegate.java:102)
> at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfigurati
on.java:588)
> at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfigurati
on.java:513)
> at
org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(D ebugUIPlugin.jav
a:738)
> at
org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlu gin.java:910)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
>
>
> Do I need to add something else to get it working?
>
> BR
> Pelle
Re: Remote debugging with gdb gives internal error. [message #139566 is a reply to message #139555] Thu, 24 February 2005 16:40 Go to previous message
Pelle Svensson is currently offline Pelle SvenssonFriend
Messages: 77
Registered: July 2009
Member
Yes you are right, I'm using 3.1M4 with CDT 2.1.

Ok that may be the cause. Hope they fix it in the next CDT release.
Looks like version 3.0 is a major update....

/Thanks
Previous Topic:Newbie: Install CDT 2.1 errors
Next Topic:Includes in CDT 2.1
Goto Forum:
  


Current Time: Fri Oct 18 01:42:54 GMT 2024

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

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

Back to the top