common/ptid.h: Mention that process_stratum targets should prefer ptid.lwp.
authorPedro Alves <palves@redhat.com>
Wed, 19 Feb 2014 18:25:41 +0000 (18:25 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 19 Feb 2014 18:27:01 +0000 (18:27 +0000)
commitc658158d936f25dca30cc89260168a5c0be3a24c
treee93ba46b88dcd3301efe3c6e31d0076dfb616537
parentba3481708d3f18e77ab6c000385b131c76d2733e
common/ptid.h: Mention that process_stratum targets should prefer ptid.lwp.

It's best that we standardize on process_stratum targets using the
ptid.lwp field to store thread ids.  The idea being leave the ptid.tid
field free for any thread_stratum target that might want to sit on
top.  This patch adds a comment in that direction to struct ptid's
definition.

gdb/
2014-02-19  Pedro Alves  <palves@redhat.com>

* common/ptid.h (struct ptid): Mention that process_stratum
targets should prefer ptid.lwp.
gdb/ChangeLog
gdb/common/ptid.h