Hi vol,

I'd recommend looking into the gdbclient command, which is created by
the script at build/envsetup.sh.  It helped me get things sorted out.

-Brad


On Nov 21, 4:43 pm, vol <[EMAIL PROTECTED]> wrote:
> Argh. I'm getting the same problem, but I've definitely correctly set
> solib-absolute-prefix and solib-default-path correctly, since I could
> break on functions called by the main thread. It's definitely loading
> all of the libraries as well.
>
> Is there another solib setting that I need to set?
>
> Brad Larson wrote:
> > I found that I wasn't correctly setting my solib in gdb.  Everything
> > is working correctly now.
>
> > -Brad
>
> > On Nov 6, 10:26 am, Brad Larson <[EMAIL PROTECTED]> wrote:
> > > Does Bionic support Multi-Threaded Debugging?
>
> > > Whenever I put a breakpoint in a subthread (using gdb/gdbserver on the
> > > emulator) gdbserver exits when the breakpoint would be hit. gdbserver
> > > reports:
>
> > > gdb: Unable to get location for thread creation breakpoint: requested
> > > event is not supported
>
> > > Child terminated with signal = 5
>
> > > Child terminated with signal = 0x5
> > > GDBserver exiting
>
> > > and the gdb console reports:
>
> > > Program terminated with signal SIGTRAP, Trace/breakpoint trap.
> > > The program no longer exists.
>
> > > I'm not sure if the problem is with gdb/gdbserver or if Bionic doesn't
> > > report enough threading info for gdb to break into sub-threads.
> > > Breakpoints in the main thread work fine.
>
> > > Thanks for any help!
> > > -Brad
--~--~---------~--~----~------------~-------~--~----~
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