Hi,

we used the following setup and able to communicate between gdb server
and gdb client. but couldnt accomplish to hit the breakpoints.
breakpoints are getting ignored. Please suggest if you have any idea
on this.



1.    Makefile already had the -g option and the code is compiled with
this option.

2.    Run the emulator and using following steps add a redirection of
port.

  localhost 5554
  add tcp:4444:4444
  exit

3.    On the emulator

    1. Give ps command and find the pid of the syncml service
(com.samsung.client:remote)

    2. Run gdbserver. (./gdbserver 10.0.2.2:1234 hello1)

4.    On the host

1.    run the gdb client

.../mydroid/prebuilt/linux-x86/toolchain/arm-eabi-4.2.1/bin/arm-eabi-
gdb  …/mydroid/out/target/product/generic/symbols/system/lib/
libsyncml_jni.so

2.   Connect to server : Target remote localhost:4444. When doing
this, emulator responds printing a message “Remote debugging from host
10.0.2.2”

3.    Able to give gdb commands and able insert breakpoints.



The problem is it is not hitting the breakpoints inserted, and we
encuntered an issue saying "gdb: Unable to get location for thread
creation breakpoint: requested event is not supported"

So please suggest if you have any idea on this.

Thanks
Sudhindra



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to