Is GDB supported in ucLinux?

Loading thread data ...

Yes, you can use both background debugger interfaces and gdbserver.

Regards,

-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Damion de Soto - Software Engineer email: snipped-for-privacy@snapgear.com SnapGear - A CyberGuard Company --- ph: +61 7 3435 2809 | Custom Embedded Solutions fax: +61 7 3891 3630 | and Security Appliances web:

formatting link
--- Free Embedded Linux Distro at
formatting link
---

Reply to
Damion de Soto

Hi Damian,

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

Thanks, Mihai

Reply to
mc

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:     damion@snapgear.com
SnapGear - A CyberGuard Company ---    ph:         +61 7 3435 2809
  | Custom Embedded Solutions          fax:         +61 7 3891 3630
  | and Security Appliances            web: http://www.snapgear.com~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ---  Free Embedded Linux Distro at   http://www.snapgear.org  ---
Reply to
Damion de Soto

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.