Remove ptid_get_tid
authorTom Tromey <tom@tromey.com>
Mon, 11 Jun 2018 18:14:34 +0000 (12:14 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 3 Jul 2018 17:36:44 +0000 (11:36 -0600)
commitcc6bcb548d67a5a0a7223d81bd43c299312320c8
tree205be2c55d1a8f204d8e7d0b3d14a69b2253f0b1
parente38504b39279fa86cbb2c4a45ab8ec34e3aef90b
Remove ptid_get_tid

This removes ptid_get_tid in favor of calling the ptid_t::tid method.

gdb/ChangeLog
2018-07-03  Tom Tromey  <tom@tromey.com>

* common/ptid.c (ptid_get_tid): Remove.
* common/ptid.h (ptid_get_tid): Don't declare.
* ada-tasks.c: Update.
* aix-thread.c: Update.
* bsd-uthread.c: Update.
* darwin-nat.c: Update.
* fbsd-nat.c: Update.
* i386-darwin-nat.c: Update.
* infrun.c: Update.
* linux-tdep.c: Update.
* nto-procfs.c: Update.
* ppc-ravenscar-thread.c: Update.
* python/py-infthread.c: Update.
* ravenscar-thread.c: Update.
* sol-thread.c: Update.
* sparc-ravenscar-thread.c: Update.
* windows-nat.c: Update.

gdb/gdbserver/ChangeLog
2018-07-03  Tom Tromey  <tom@tromey.com>

* target.c: Update.
20 files changed:
gdb/ChangeLog
gdb/ada-tasks.c
gdb/aix-thread.c
gdb/bsd-uthread.c
gdb/common/ptid.c
gdb/common/ptid.h
gdb/darwin-nat.c
gdb/fbsd-nat.c
gdb/gdbserver/ChangeLog
gdb/gdbserver/target.c
gdb/i386-darwin-nat.c
gdb/infrun.c
gdb/linux-tdep.c
gdb/nto-procfs.c
gdb/ppc-ravenscar-thread.c
gdb/python/py-infthread.c
gdb/ravenscar-thread.c
gdb/sol-thread.c
gdb/sparc-ravenscar-thread.c
gdb/windows-nat.c