The target_ops parameters here can be made const.
Change-Id: Ibc18b17d6b21d06145251a03e68aca90538117d6
int unpush_target (struct target_ops *t);
/* Returns true if T is pushed in this inferior's target stack. */
- bool target_is_pushed (target_ops *t)
+ bool target_is_pushed (const target_ops *t)
{ return m_target_stack.is_pushed (t); }
/* Find the target beneath T in this inferior's target stack. */
bool unpush (target_ops *t);
/* Returns true if T is pushed on the target stack. */
- bool is_pushed (target_ops *t) const
+ bool is_pushed (const target_ops *t) const
{ return at (t->stratum ()) == t; }
/* Return the target at STRATUM. */