Remove regcache_get_ptid
authorSimon Marchi <simon.marchi@ericsson.com>
Wed, 30 May 2018 18:54:34 +0000 (14:54 -0400)
committerSimon Marchi <simon.marchi@ericsson.com>
Wed, 30 May 2018 18:54:34 +0000 (14:54 -0400)
commit222312d359fe0a68f8583ba315583ee8cc94f252
tree701e5162335a218b0205d5ac5844f7fc6187c858
parent1869e86f2eb13a9e1d1c42b97cdb98fef88afd83
Remove regcache_get_ptid

Remove regcache_get_ptid, change all callers to call the regcache method
directly.

gdb/ChangeLog:

* regcache.h (regcache_get_ptid): Remove, update all callers to
call regcache::ptid instead.
* regcache.c (regcache_get_ptid): Remove.
50 files changed:
gdb/ChangeLog
gdb/aarch64-fbsd-nat.c
gdb/aarch64-linux-nat.c
gdb/aix-thread.c
gdb/alpha-bsd-nat.c
gdb/amd64-bsd-nat.c
gdb/amd64-linux-nat.c
gdb/arm-fbsd-nat.c
gdb/arm-linux-nat.c
gdb/arm-nbsd-nat.c
gdb/bsd-uthread.c
gdb/hppa-linux-nat.c
gdb/hppa-nbsd-nat.c
gdb/hppa-obsd-nat.c
gdb/i386-bsd-nat.c
gdb/i386-darwin-nat.c
gdb/i386-gnu-nat.c
gdb/i386-linux-nat.c
gdb/ia64-linux-nat.c
gdb/linux-nat-trad.c
gdb/m32r-linux-nat.c
gdb/m68k-bsd-nat.c
gdb/m68k-linux-nat.c
gdb/mips-fbsd-nat.c
gdb/mips-linux-nat.c
gdb/mips-nbsd-nat.c
gdb/mips64-obsd-nat.c
gdb/nto-procfs.c
gdb/ppc-fbsd-nat.c
gdb/ppc-linux-nat.c
gdb/ppc-nbsd-nat.c
gdb/ppc-obsd-nat.c
gdb/procfs.c
gdb/ravenscar-thread.c
gdb/record-btrace.c
gdb/regcache.c
gdb/regcache.h
gdb/remote-sim.c
gdb/remote.c
gdb/rs6000-nat.c
gdb/s390-linux-nat.c
gdb/sh-nbsd-nat.c
gdb/sol-thread.c
gdb/sparc-nat.c
gdb/spu-linux-nat.c
gdb/spu-multiarch.c
gdb/tilegx-linux-nat.c
gdb/vax-bsd-nat.c
gdb/windows-nat.c
gdb/xtensa-linux-nat.c