mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 09:58:19 +08:00
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
This commit is contained in:
@ -2028,7 +2028,7 @@ windows_nat_target::do_initial_windows_stuff (DWORD pid, bool attaching)
|
||||
current_event.dwProcessId = pid;
|
||||
memset (¤t_event, 0, sizeof (current_event));
|
||||
inf = current_inferior ();
|
||||
if (!target_is_pushed (this))
|
||||
if (!inf->target_is_pushed (this))
|
||||
inf->push_target (this);
|
||||
disable_breakpoints_in_shlibs ();
|
||||
windows_clear_solib ();
|
||||
|
Reference in New Issue
Block a user