Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] debug using eclipse

I do not know what execute.exe and gdbserver.exe are doing. Perhaps
you should run these commands manually before debugging.
But I suppose I could advice on the arm-elf-insight.exe.

You should create a debug configuration in Eclipse. I would recommend
to use GDB Hardware debugging (CDT 5.0.2).
Use  hello_arm-g.elf as a program to debug (C/C++ application).
Important: locate arm-elf-gdb.exe and specify it on Debugger page as
gdb command.
Specify 127.0.0.1:12345 as remote target IP and port (on the same
Debugger page).

Try to debug.

Dmitry

2009/3/17 DUCHASSIN Frédéric <duchassin@xxxxxxxxx>:
> Hello Everybody,
>
> I'm asking for help because i didn't find any help for using debug in
> Eclipse.
> I would like to use eclipse as debug IDE in my project.
> I'm using WinARM and it's working quite well as compiler in eclipse.
>
> Now i would use eclipse debug but it's not working whereas it's possible to
> debug using inline command.
> This is my .bat file which allow to DEBUG in inline command :
>
>
> Code :
>  rem ###############Config Execute + USB port 2#######################
> ..\..\env\bin\M-win32\execute.exe -verbose
> -dll=..\..\env\bin\M-win32\usbdbgport.dll
> -port=USB2:SYSFREQ=324000000:STARTBAUD=38400:BAUDRATE=3000000:RAMBASE=0x02004000
> -reg=..\..\env\execute\ddr_init.rvs -quiet
>  rem ###############gdbserver + USB port 1#######################
> cmd /C start /high ..\..\env\bin\M-win32\gdbserver.exe -verbose
> -dll=..\..\env\bin\M-win32\jtagport.dll -port=USB1 -IP=127.0.0.1:12345
> -verbose
>  rem ###############Lance insight#######################
> c:\WinARM\utils\insight\bin\arm-elf-insight.exe
> --directory=build\MB86H60\M-arm11-winarm
> --command=build\MB86H60\M-arm11-winarm\.gdbinit --nx
> "./build/MB86H60/M-arm11-winarm/hello_arm-g.elf"
>
> /Code :
>
> So my question is: How can i integrate this debug in Eclipse ? Help me
> please !
>
> Thanks in advance.
>
> ++++
>
>
> Fred
>
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>
>


Back to the top