Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Run support for cross GNU based toolchain compiled executable

Hi,

I have integrated my cross GNU based toolchain and gdb to eclipse. I can seamlessly debug my .out file through Debug menu. Now I want to Run my.out file through Run menu. This should be a simulated run through $target-run tool. It means actual download on hardware is not required.

If I try Run option, then I get error through exec function. This is because my .out file is not windows executable, it is supposed to run on target.

 

LocalRunLaunchDelegate-> launch method just takes executable path and program arguments into commandArray and sends it for exec. The debugger tab seems to play no role in Run configuration. I do not understand how I can mention my target specific run ($target-run) tool.

First I have a basic question:  Does eclipse support Run for target specific executable? (may be through provision of some extension..)

If not, then how should I go ahead? Do I need to write from scratch launch configuration, command factory, create session/process routines and rest other things?

Please guide.

Thanks,

Aparna


Back to the top