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?
  • Note: This was originally posted on 21st February 2012 at http://forums.arm.com

    Hello x,
    You would use the unfortunately still too well hidden search functionality. (I have asked for this to be more visible)
    [Info] How to search previous posts? --> ARM Forum Search Form.
    Cheers, Alban
  • Note: This was originally posted on 22nd February 2012 at http://forums.arm.com

    Hi x40,
    DS-5 CE comes with two gdbserver binaries (static and dynamic), have you tried both?
    FYI, the main difference between android's and DS-5's gdbserver is that DS-5's gdbserver supports VFP and NEON registers visibility. Therefore, if you are not interested in those register or your platform doesn't implement a NEON coprocessor, it doesn't matter which gdbserver you use as long as DS-5 can connect to it.
  • Note: This was originally posted on 23rd February 2012 at http://forums.arm.com

    Yes, the dyna one works okay.  Maybe you can shed some light on this, ever-present problem with apps, and ds-5 CE is no exception unfortunately.  Color clash.  Some views don't offer any way to change the colors, and hard code clashing values.  Look at the register view in the screenshot (imageshack.us)

    [IMG]http://img259.imageshack.us/img259/3292/ds5colorclash.png[/IMG]

    Also, the highlight bar color does not stick on a restart (always goes back to that green from the dark gray I set for it).  I have no idea from where the white color comes since this Win7 box is set to use high-contrast mode (the main reason is to get black backgrounds in apps since most stick with white and don't offer a way to change).  I don't think there's a way to fix that once an app has fallen into the hole.  It's a terribly common problem.
  • 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.