Skip to main content



      Home
Home » Eclipse Projects » DSDP - Target Management » Cross debugging
Cross debugging [message #32655] Wed, 04 March 2009 11:22 Go to next message
Eclipse UserFriend
I have compiled a copy of gdb 6.8 as a cross-debugger from linux/i86 to
linux/ppc for an embedded target. If I install CDT and RSE, I can set up
a connection to the target and remote launch configuration. I can then
change the command from 'gdb' to '/to/path/my-cross-gdb' and set up the
solib path to match the cross-built libraries, and can do successful
debugging on the target.

I'm now trying to package this up into a plugin which will automatically
set the command and path correctly. My plugin has an extension to the
CDebugger and CDebuggerPage extension points, but I don't see my debugger
in the drop down in the remote c++ launch configuration dialog. Ideally,
I'd like my debugger to be the default if the remote target type is
linux/ppc, but don't see remote platform cpu in the connection parameters.

I don't know what I'm missing.

Phil
Re: Cross debugging [message #32758 is a reply to message #32655] Fri, 06 March 2009 13:51 Go to previous messageGo to next message
Eclipse UserFriend
Hi Phil,

I guess you'll need to post this question on the
eclipse.tools.cdt
newsgroup, or mail to the cdt-dev mailing list ... since it's
actually cdt specific.

Thanks,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm




Phil Longstaff wrote:
> I have compiled a copy of gdb 6.8 as a cross-debugger from linux/i86 to
> linux/ppc for an embedded target. If I install CDT and RSE, I can set
> up a connection to the target and remote launch configuration. I can
> then change the command from 'gdb' to '/to/path/my-cross-gdb' and set up
> the solib path to match the cross-built libraries, and can do successful
> debugging on the target.
>
> I'm now trying to package this up into a plugin which will automatically
> set the command and path correctly. My plugin has an extension to the
> CDebugger and CDebuggerPage extension points, but I don't see my
> debugger in the drop down in the remote c++ launch configuration
> dialog. Ideally, I'd like my debugger to be the default if the remote
> target type is linux/ppc, but don't see remote platform cpu in the
> connection parameters.
>
> I don't know what I'm missing.
>
> Phil
>
Re: Cross debugging [message #579504 is a reply to message #32655] Fri, 06 March 2009 13:51 Go to previous messageGo to next message
Eclipse UserFriend
Hi Phil,

I guess you'll need to post this question on the
eclipse.tools.cdt
newsgroup, or mail to the cdt-dev mailing list ... since it's
actually cdt specific.

Thanks,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm




Phil Longstaff wrote:
> I have compiled a copy of gdb 6.8 as a cross-debugger from linux/i86 to
> linux/ppc for an embedded target. If I install CDT and RSE, I can set
> up a connection to the target and remote launch configuration. I can
> then change the command from 'gdb' to '/to/path/my-cross-gdb' and set up
> the solib path to match the cross-built libraries, and can do successful
> debugging on the target.
>
> I'm now trying to package this up into a plugin which will automatically
> set the command and path correctly. My plugin has an extension to the
> CDebugger and CDebuggerPage extension points, but I don't see my
> debugger in the drop down in the remote c++ launch configuration
> dialog. Ideally, I'd like my debugger to be the default if the remote
> target type is linux/ppc, but don't see remote platform cpu in the
> connection parameters.
>
> I don't know what I'm missing.
>
> Phil
>
Re: Cross debugging [message #717790 is a reply to message #32655] Mon, 22 August 2011 07:30 Go to previous message
Eclipse UserFriend
hi,
I have mips cross compiler and remote debugger. The debugger connects via ethernet to the target board for debugging .I'd like to integrate this with eclipse on fedora. Can you please help me?...
Previous Topic:A newcomer to RSE seeks feedback
Next Topic:getHosts() doesn't get the local host on startup/first call - should it?
Goto Forum:
  


Current Time: Wed Apr 16 02:52:08 EDT 2025

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

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

Back to the top