|
Re: Remote debugging with gdb gives internal error. [message #139555 is a reply to message #139518] |
Thu, 24 February 2005 13:48 |
Eclipse User |
|
|
|
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
|
|
|
|
Powered by
FUDForum. Page generated in 0.02780 seconds