Is GDB supported in ucLinux?

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From English to

Threaded View
Is GDB supported in ucLinux?

Thanks.

Re: Is GDB supported in ucLinux?
Quoted text here. Click to load it
Yes, you can use both background debugger interfaces and gdbserver.

Regards,

--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Damion de Soto - Software Engineer  email:     snipped-for-privacy@snapgear.com
We've slightly trimmed the long signature. Click to see the full one.
Re: Is GDB supported in ucLinux?
Quoted text here. Click to load it
Hi Damian,

For some reason people here tried to use it but with no success. What is
the recipe for doing it?

Thanks,
Mihai

Re: Is GDB supported in ucLinux?
Quoted text here. Click to load it
using gdbserver requires no specific hardware, so it's probably the easiest.
build gdbserver with your target toolchains and build gdb itself with your native
toolchain.  you can configure both gdb and gdbserver like so:
./configure --build=i386-redhat-linux --host=i386-redhat-linux --target=TARGET

then you run the gdbserver on the target like:
# gdbserver :3000 /bin/app
and gdb on the host
# gdb /src/bin/app
(gdb) target remote IP.AD.RE.SS:3000

using a BDM is specific to whichever target/BDM interface you have.

Regards,


--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Damion de Soto - Software Engineer  email:     snipped-for-privacy@snapgear.com
We've slightly trimmed the long signature. Click to see the full one.

Site Timeline