[solved] sparc-rtems4.11-gdb error + gdb question

Luca Cinquepalmi cinquepalmi at planetek.it
Thu Sep 6 08:44:10 UTC 2012

Target is connected with /dev/ttyUSB1. The connection works because I've 
tryed it
with sparc-elf-gdb with no error. Now I'm trying it with rtems so with 
I'm using ddd as GUI and I launch

ddd --debugger sparc-rtems4.11-gdb uprogram.exe
(gdb) target remote /dev/ttyUSB1

Il 06/09/2012 10.40, Chris Johns ha scritto:
> Luca Cinquepalmi wrote:
>> I solved my problem. Actually the problem was that I used rtems-gdb RPM.
>> I tryed to build it by myself and now I don't have that kind of error.
> Well done.
>> I have now another question.
>> What kind of option shall I add in my makefile to compile rtems source
>> file in debug mode?
>> Only -g in compyling options and links?
> That should be fine.
>> Shall I add some command in C source file?
> How do you connect your target to gdb ?
> Chris

More information about the users mailing list