Eliminate find_target_beneath
authorPedro Alves <palves@redhat.com>
Thu, 7 Jun 2018 16:27:47 +0000 (17:27 +0100)
committerPedro Alves <palves@redhat.com>
Thu, 7 Jun 2018 17:57:37 +0000 (18:57 +0100)
commitd6ca69cddc3fc6ef61fdfe3c3803d13b0b4e13e9
treeed4b826fa773038c603131579fac9ffdfb734053
parentb6a8c27bb8fb383be6f57724eb9aafa9f2f83aa5
Eliminate find_target_beneath

Call target_ops::beneath() throughout instead.

gdb/ChangeLog:
2018-06-07  Pedro Alves  <palves@redhat.com>

* target.h (find_target_beneath): Delete declaration.
* target.c (find_target_beneath): Delete definition.
* aix-thread.c: All callers of find_target_beneath adjusted to
call target_ops::beneath instead.
* bsd-uthread.c: Likewise.
* linux-thread-db.c: Likewise.
* ravenscar-thread.c: Likewise.
* sol-thread.c: Likewise.
* spu-multiarch.c: Likewise.
gdb/ChangeLog
gdb/aix-thread.c
gdb/bsd-uthread.c
gdb/linux-thread-db.c
gdb/ravenscar-thread.c
gdb/sol-thread.c
gdb/spu-multiarch.c
gdb/target.c
gdb/target.h