[0/2] Remove two references to current inferior in

Message ID 20210429193451.1866888-1-simon.marchi@polymtl.ca
Headers show
Series
  • Remove two references to current inferior in
Related show

Message

Eli Zaretskii via Gdb-patches April 29, 2021, 7:34 p.m.
While doing some work, I noticed these two changes that were simple and
could be applied right away.  They both remove a reference to the
current_inferior when unpushing / closing a target.

Simon Marchi (2):
  gdb: make target_close check that target isn't pushed in all inferiors
  gdb: remove reference to current inferior in target_stack::unpush

 gdb/target.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

-- 
2.30.1