This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

If I Wanted to Search for "android-ndk7b + DS-5 + gdbserver" Here ...

Note: This was originally posted on 21st February 2012 at http://forums.arm.com

If I Wanted to search for "android-ndk7b + DS-5 + gdbserver" here, how would I?

Reason is, I can't debug with ds-5 as described.  It doesn't work.  Can't connect to port 5000.  Using the ndk7b gdbserver, it seems to  work.  Is it supposed to?

Directory of c:\android\android-ndk-r7b\samples\native-media\libs\armeab

2011.11.29  13:36           187,992 gdbserver__ds5   ... does not work in 7b
2012.01.25  08:39           125,208 gdbserver
2012.01.25  08:39           125,208 gdbserver_org


If I wanted to know if this was a known problem, how would I find out?
Parents
  • Note: This was originally posted on 23rd February 2012 at http://forums.arm.com

    Hi x40,

    Gdbserver needs to be linked against the libc.so library, the one binary is dynamically linked whereas the other is statically linked.
    The static gdbserver minimize dependences, but if the libc.so library is not compatible with the device a statically linked gdbserver may sigfault.
    Accordingly, DS-5 also provides a dynamically linked binary to work around the variety of libc.so implementations.

    Regarding the colour issues, I pass on the question to one of my colleagues.
Reply
  • Note: This was originally posted on 23rd February 2012 at http://forums.arm.com

    Hi x40,

    Gdbserver needs to be linked against the libc.so library, the one binary is dynamically linked whereas the other is statically linked.
    The static gdbserver minimize dependences, but if the libc.so library is not compatible with the device a statically linked gdbserver may sigfault.
    Accordingly, DS-5 also provides a dynamically linked binary to work around the variety of libc.so implementations.

    Regarding the colour issues, I pass on the question to one of my colleagues.
Children
No data