Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Target Management » Cross debugging
Cross debugging [message #32655] Wed, 04 March 2009 11:22 Go to next message
Phil Longstaff is currently offline Phil Longstaff
Messages: 4
Registered: July 2009
Junior Member
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
Martin Oberhuber is currently offline Martin Oberhuber
Messages: 975
Registered: July 2009
Senior Member
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
Martin Oberhuber is currently offline Martin Oberhuber
Messages: 975
Registered: July 2009
Senior Member
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
fayaz  is currently offline fayaz
Messages: 1
Registered: August 2011
Junior Member
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: Sun Apr 20 18:05:31 EDT 2014

Powered by FUDForum. Page generated in 0.03964 seconds