This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gdb doesn't show all threads, but gdbserver does


This part of code in gdb/gdbserver/thread-db.c:thread_db_init.

On Wed, Jan 21, 2009 at 08:25, teawater <teawater@gmail.com> wrote:
> I think gdbserver need non-strip libpthread too. I met this issue in before.
> So it make me confused. :)
>
> On Wed, Jan 21, 2009 at 08:14, Paul Pluzhnikov <ppluzhnikov@google.com> wrote:
>> On Tue, Jan 20, 2009 at 4:05 PM, teawater <teawater@gmail.com> wrote:
>>> Really?
>>> Why your gdbserver can be use? Is it static link?
>>
>> I think it works for OP because with gdbserver, the host GDB is
>> doing symbol lookups, and the copy of target libpthread which host
>> GDB uses has not been stripped.
>>
>> Cheers,
>> --
>> Paul Pluzhnikov
>>
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]