Skip to main content

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

Excuse me this is all the output of gdb:

767-gdb-set confirm off
767^done
(gdb) 
768-gdb-set width 0
768^done
(gdb) 
769-gdb-set height 0
769^done
(gdb) 
770-interpreter-exec console echo
770^done
(gdb) 
771-gdb-show prompt
771^done,value="(gdb) "
772-gdb-set new-console on
(gdb) 
&"No symbol \"new\" in current context.\n"
772^error,msg="No symbol \"new\" in current context."
(gdb) 
773-target-select remote 127.0.0.1:12345
No symbol "new" in current context.
773^connected,thread-id="0",frame={addr="0x00000838",func="??",args=[]}
(gdb) 
774 
&"\n"
774^done
(gdb) 
775-target-download
C:\\HDTV\\applications\\hello_arm\\build\\MB86H60\\M-arm11-winarm\\hello_arm
-g.elf

775+download,{section=".text",section-size="105196",total-size="38975987"}
775+download,{section=".rodata",section-size="4576",total-size="38975987"}
775+download,{section=".data",section-size="4184",total-size="38975987"}
775^done,address="0x21b00000",load-size="113956",transfer-rate="879",write-r
ate="190"
(gdb) 
776-environment-directory C:/HDTV/applications/hello_arm
C:/HDTV/applications/hello_arm/build
C:/HDTV/applications/hello_arm/build/MB86H60
C:/HDTV/applications/hello_arm/build/MB86H60/M-arm11-winarm
C:/HDTV/applications/hello_arm/build/MB86H60/M-arm11-winarm/src
C:/HDTV/applications/hello_arm/src
776^done,source-path="C:/HDTV/applications/hello_arm:C:/HDTV/applications/he
llo_arm/build:C:/HDTV/applications/hello_arm/build/MB86H60:C:/HDTV/applicati
ons/hello_arm/build/MB86H60/M-arm11-winarm:C:/HDTV/applications/hello_arm/bu
ild/MB86H60/M-arm11-winarm/src:C:/HDTV/applications/hello_arm/src:$cdir:$cwd
"
(gdb) 
777 info threads
&"info threads\n"
&"warning: Couldn't restore frame in current thread, at frame 0\n"
~"0x00000838 in ?? ()\n"
777^done
(gdb) 
778-data-list-register-names
778^done,register-names=["r0","r1","r2","r3","r4","r5","r6","r7","r8","r9","
r10","r11","r12","sp","lr","pc","f0","f1","f2","f3","f4","f5","f6","f7","fps
","cpsr"]
(gdb)  


Thanks


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

what was in your .gdbinit and how did you configured Initialization?

Also, can you turn on 'verbose console mode' and provide the ouput from
eclipse GDB console?


2009/3/17 DUCHASSIN Frédéric <duchassin@xxxxxxxxx>:
>
> No it's a specific hardware register.
> I only know that debug is working when i launch .bat i give on 
> mailling list.
>
>
>
> -----Message d'origine-----
> De : cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] 
> De la part de Elena Laskavaia Envoyé : mardi 17 mars 2009 16:12 À : 
> CDT General developers list.
> Objet : 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:RAMBAS
>>> E = 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
> _______________________________________________
> 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