gdb: remove target_is_pushed free function
authorSimon Marchi <simon.marchi@polymtl.ca>
Tue, 23 Mar 2021 13:46:49 +0000 (09:46 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Tue, 23 Mar 2021 13:50:36 +0000 (09:50 -0400)
commitc8fbd44a018a9923f906bfd2be5489caa87b602a
treee671690688c207daef290a5e0a4857712dab73a7
parent02980c5645e355833b989e9551befddd54e75640
gdb: remove target_is_pushed free function

Same principle as the previous patches.

gdb/ChangeLog:

* target.h (target_is_pushed): Remove, update callers to use
inferior::target_is_pushed instead.
* target.c (target_is_pushed): Remove.

Change-Id: I9862e6205acc65672da807cbe4b46cde009e7b9d
gdb/ChangeLog
gdb/darwin-nat.c
gdb/gnu-nat.c
gdb/go32-nat.c
gdb/inf-ptrace.c
gdb/nto-procfs.c
gdb/procfs.c
gdb/target.c
gdb/target.h
gdb/windows-nat.c