Is GDB supported in ucLinux? - Embedded

This is a discussion on Is GDB supported in ucLinux? - Embedded ; Is GDB supported in ucLinux? Thanks....

+ Reply to Thread
Results 1 to 4 of 4

Thread: Is GDB supported in ucLinux?

  1. Is GDB supported in ucLinux?

    Is GDB supported in ucLinux?

    Thanks.

  2. Re: Is GDB supported in ucLinux?

    mc wrote:
    > Is GDB supported in ucLinux?

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

    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 ---

  3. Re: Is GDB supported in ucLinux?

    Damion de Soto wrote:
    > mc wrote:
    >
    >> Is GDB supported in ucLinux?

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

    Hi Damian,

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

    Thanks,
    Mihai

  4. Re: Is GDB supported in ucLinux?

    mc wrote:
    > Damion de Soto wrote:
    >
    >> mc wrote:
    >>
    >>> Is GDB supported in ucLinux?

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

    > Hi Damian,
    >
    > For some reason people here tried to use it but with no success. What is
    > the recipe for doing 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: 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 Thread