This is the mail archive of the
archer@sourceware.org
mailing list for the Archer project.
Re: Q: multiple inferiors, all-stop && vCont
On Tue, 03 Aug 2010 14:39:40 +0200, Jan Kratochvil wrote:
> The LWP -> thread_t conversion could be done later from the client side only
^^^^^^^^^^^^^^^^^^^^
> using:
> libthread_db (td_ta_map_lwp2thr(), td_thr_get_info(),
> typeof (td_thrinfo_t->ti_tid) = thread_t)
Why libthread_db is at gdbserver and not at gdb host:
http://sourceware.org/bugzilla/show_bug.cgi?id=8210#c7
------- Additional Comment #7 From Pedro Alves 2010-08-18 12:37 -------
# Oh, dear me, I almost forgot: continuing on the comment above, supporting
# thread_db for cross debugging would also mean that we'd need to have available
# a libthread_db.so that is built for the host architecture so that GDB can load
# it, but that understands the _target_ architecture's glibc. (This is also the
# reason why we have gdbserver itself load libthread_db, not gdb, when remote
# debugging). So, I'm definitely closing this harder. :-)
Regards,
Jan