On Dec 8, 5:47 pm, fadden <[EMAIL PROTECTED]> wrote:
> On Dec 4, 11:26 pm, jasperr <[EMAIL PROTECTED]> wrote:
>
> > Does anyone know how to build the "gdb" or "gdbserver" running on the
> > arm device? Many thanks!
>
> A gdbserver was supposed to be included with the prebuilt binaries but
> wasn't.  I can send you one that will work with the supplied arm-eabi-
> gdb.  (Other options: build it yourself; wait for the official one in
> the git repository; google-search for "android gdbserver" to find some
> other people who have built it.)

Can you post a suitable gdbserver binary?  I've googled around, and
the only one that I find [1] is pretty old.  And old ones may have
some known issues [2].  Indeed, when I try to use it on mediaserver I
lots of warnings like this:

warning: .dynamic section for "blah" is not at the expected address
(wrong library or version mismatch?)

And finally, I get this worrisome warning:

warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.

When I actually try to debug, I get the same result as the guys in
[2].  I also dug around the current git and didn't see a prebuilt
gdbserver.

Thanks,
Brian

[1] 
http://www.billrocks.org/ideas/index.php?/archives/20-Debugging-Android-Native-C-Applications-with-gdb.html#extended
[2] 
http://groups.google.com/group/android-framework/browse_thread/thread/590014fcac60b220
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"android-framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to