This is the mail archive of the gdb-patches@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: [PATCH] [PR 23660] On FreeBSD platform missing implementation of thread-db support


Pedro,

I'll clean up the glibc workaround code.
Thanks

Regards,
Rajendra

On Wed, Sep 19, 2018 at 10:29 PM, Pedro Alves <palves@redhat.com> wrote:
> On 09/19/2018 05:52 PM, Rajendra SY wrote:
>> +  /* True if we need to apply the workaround for glibc/BZ5983.  When
>> +     we catch a PTRACE_O_TRACEFORK, and go query the child's thread
>> +     list, nptl_db returns the parent's threads in addition to the new
>> +     (single) child thread.  If this flag is set, we do extra work to
>> +     be able to ignore such stale entries.  */
>> +  int need_stale_parent_threads_check;
>
> Surely FreeBSD doesn't need a workaround for a glibc bug.
>
> There are other references to glibc in the file.
>
> Thanks,
> Pedro Alves


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