[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
Re: [cdt-dev] debug using eclipse
|
- From: Dmitry Smirnov <divis1969@xxxxxxxxx>
- Date: Tue, 17 Mar 2009 16:14:02 +0300
- Delivered-to: cdt-dev@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=3jIHJ0RVwJ9d15JbtF7RwQNy4BCV5yfMJ7IxanV8l6I=; b=Z3ipVLmtGhb8kdCHTE4hRxpu5y/Hqx9yefJ3B9iBK3ApUYI8QcXWnNFG8nA3g8pLfU R+STTWOYhbR3nnufYsmaU53mCpjVMkYANkdHkCd06hp95lvJFAIup6Ge3mWoOA6cShd+ qCUvuraoMG04vuxLYjW2vkDFtRnPbQiun0J5k=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Kvorij0l41Wqv+9b5DaNtm2FaiASm4Me8s/xu1umsa9J6s56XDpPUUMZ5ANV2wcAVQ 5F+NOQZUVkrEQkMerbup8w8lLKIn0d+UyAEKpJgp3BoHkRv9kLr1cFOxV90Nx4oOUQ8f U5eGWTRdK7Y/YonDe2/CnpPp2eT3otfCJa24U=
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
>
>