Skip to main content

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

Is it $pc register?

DUCHASSIN Frédéric wrote:
 Hello,

Thanks for your help.

I try to run manually Execute.exe and GdbServer.exe. I've downloaded Eclipse GDB hardware debugging. But it seems this plugin don't use .gdbinit script (since i have put this
script in "GDB init File"). So i put these commands in Initialization
command and it seems to work. All The code seems to be send to my hardware.
(like in original application)

But at the end of the download, my GdbServer tell me:
- Read at address 0x00000000	4 bytes

Whereas it should be --> Read at address 0x21b10d90 	4 bytes (with
original application using insight debugger).

I don't know where is the problem but it wasn't working.
(read at address 0x00000000 is blocking)

Is it possible to enter an offset ? or have you an idea about my problem.

Thanks in advance.

Fred


-----Message d'origine-----
De : cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] De la
part de Elena Laskavaia
Envoyé : mardi 17 mars 2009 15:04
À : CDT General developers list.
Objet : Re: [cdt-dev] debug using eclipse

The other stuff (besides last debugger launch) you can put into external
launch configuration.


DUCHASSIN Frédéric wrote:
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
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top