Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jun 2011 12:36:53 -0500
From:      John Schumacher <schumjs@gmail.com>
To:        freebsd-threads@freebsd.org
Subject:   Using fbsd-threads.c versus thread-db.c (gdbserver)
Message-ID:  <BANLkTik5e87v59kP6emD=D5H8JmghTcu4Q@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Question:
Does anyone understand the differences between freebsd-threads.c and
thread-db.c in FreeBSD?
Linux's gdbserver makes calls to thread-db.c and thread-db.c sits in the
gdbserver folder in the 8.1 FreeBSD distro.
However, I notice that fbsd-threads.c (which sits in
FreeBSD\8.1\builds\8.1\kernel\source\gnu\usr.bin\gdb\libgdb) has similar
functionality.
Is the thread-db.c sitting in the gdbserver a relic from when it was ported
over, and doesn't work with FreeBSD? Should one use the fbsd-threads.c to
query the kernel for new and existing threads?

Thanks
-John

-- 
John Schumacher
University of Minnesota (TC)
Electrical Engineering



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTik5e87v59kP6emD=D5H8JmghTcu4Q>