Remove pid_to_ptid
authorTom Tromey <tom@tromey.com>
Mon, 11 Jun 2018 17:25:49 +0000 (11:25 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 3 Jul 2018 17:36:42 +0000 (11:36 -0600)
commitf2907e49910853edf3c1aec995b3c44b3bba8999
tree7352a0fdbe482ea1e7c60ed5bc37f00ceb17287d
parentfd79271bd9dd6bb1626fb6f5ec3a415dc24950b1
Remove pid_to_ptid

This removes pid_to_ptid in favor of calling the ptid_t constructor
directly.

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

* common/ptid.c (pid_to_ptid): Remove.
* common/ptid.h (pid_to_ptid): Don't declare.
* aix-thread.c: Update.
* arm-linux-nat.c: Update.
* common/ptid.c: Update.
* common/ptid.h: Update.
* corelow.c: Update.
* ctf.c: Update.
* darwin-nat.c: Update.
* fbsd-nat.c: Update.
* fork-child.c: Update.
* gnu-nat.c: Update.
* go32-nat.c: Update.
* inf-ptrace.c: Update.
* infcmd.c: Update.
* inferior.c: Update.
* infrun.c: Update.
* linux-fork.c: Update.
* linux-nat.c: Update.
* nat/aarch64-linux-hw-point.c: Update.
* nat/fork-inferior.c: Update.
* nat/x86-linux-dregs.c: Update.
* nto-procfs.c: Update.
* obsd-nat.c: Update.
* procfs.c: Update.
* progspace.c: Update.
* remote.c: Update.
* rs6000-nat.c: Update.
* s390-linux-nat.c: Update.
* sol-thread.c: Update.
* spu-linux-nat.c: Update.
* target.c: Update.
* top.c: Update.
* tracefile-tfile.c: Update.
* windows-nat.c: Update.

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

* linux-low.c: Update.
* linux-ppc-low.c: Update.
* linux-x86-low.c: Update.
* proc-service.c: Update.
* server.c: Update.
* spu-low.c: Update.
* thread-db.c: Update.
* win32-low.c: Update.
43 files changed:
gdb/ChangeLog
gdb/aix-thread.c
gdb/arm-linux-nat.c
gdb/common/ptid.c
gdb/common/ptid.h
gdb/corelow.c
gdb/ctf.c
gdb/darwin-nat.c
gdb/fbsd-nat.c
gdb/fork-child.c
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-low.c
gdb/gdbserver/linux-ppc-low.c
gdb/gdbserver/linux-x86-low.c
gdb/gdbserver/proc-service.c
gdb/gdbserver/server.c
gdb/gdbserver/spu-low.c
gdb/gdbserver/thread-db.c
gdb/gdbserver/win32-low.c
gdb/gnu-nat.c
gdb/go32-nat.c
gdb/inf-ptrace.c
gdb/infcmd.c
gdb/inferior.c
gdb/infrun.c
gdb/linux-fork.c
gdb/linux-nat.c
gdb/nat/aarch64-linux-hw-point.c
gdb/nat/fork-inferior.c
gdb/nat/x86-linux-dregs.c
gdb/nto-procfs.c
gdb/obsd-nat.c
gdb/procfs.c
gdb/progspace.c
gdb/remote.c
gdb/rs6000-nat.c
gdb/s390-linux-nat.c
gdb/sol-thread.c
gdb/spu-linux-nat.c
gdb/target.c
gdb/top.c
gdb/tracefile-tfile.c
gdb/windows-nat.c