lkml.org 
[lkml]   [2005]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: GDB, pthreads, and kernel threads
    Douglas McNaught wrote:

    >John Clark <jclark@metricsystems.com> writes:
    >
    >
    >
    >>Also, I do believe I'm using the NPTL package for threads. Is there a
    >>way to absolutely tell without
    >>question?
    >>
    >>
    >
    >If you see multiple 'ps' entries for threads (without using any
    >special flags to ps) you are not using NPTL. NPTL is in 2.6 and in
    >some vendor 2.4 kernels, but not in kernel.org 2.4.X.
    >
    >

    I used the hint from Ajay Patel and found that in my 'installed' glibc
    on my host 'linuxthreads' was being
    used. However, I did compile glibc-2.3.5 for the host and results from
    that indicate that the nptl threads
    version is begin used.

    I will see if 1) the Gentoo distribution which was installed on the host
    machine I'm using has an updated
    version of everything to the nptl threads, or 2) compile gdb against the
    glibc-2.3.5 which has the
    ntpl threads.

    Also, I'm using a 2.6.5 kernel in my host development environment, and
    using a 2.6.11.6 kernel
    in my target. The target is actually using uClibc, and so I will check
    for the type of threads package
    that is being supported there as well.

    Thanks
    John Clark

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-05-19 19:31    [W:0.022 / U:0.624 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site