fix build: update clear_proceed_status callers

A previous patch added a new parameter to clear_proceed_status, but
forgot to update a few callers.

Tested by building on x86_64 Fedora 20, with --enable-targets=all.

gdb/
2014-07-25  Pedro Alves  <palves@redhat.com>

	* go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status.
	* monitor.c (monitor_create_inferior): Likewise.
	* remote-m32r-sdi.c (m32r_create_inferior): Likewise.
	* remote-sim.c (gdbsim_create_inferior): Likewise.
	* solib-irix.c (irix_solib_create_inferior_hook): Likewise.
	* solib-osf.c (osf_solib_create_inferior_hook): Likewise.
	* windows-nat.c (do_initial_windows_stuff): Likewise.
This commit is contained in:
Pedro Alves 2014-07-25 17:34:05 +01:00
parent 705096250d
commit 88056fbbf4
8 changed files with 17 additions and 7 deletions

View file

@ -1,3 +1,13 @@
2014-07-25 Pedro Alves <palves@redhat.com>
* go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status.
* monitor.c (monitor_create_inferior): Likewise.
* remote-m32r-sdi.c (m32r_create_inferior): Likewise.
* remote-sim.c (gdbsim_create_inferior): Likewise.
* solib-irix.c (irix_solib_create_inferior_hook): Likewise.
* solib-osf.c (osf_solib_create_inferior_hook): Likewise.
* windows-nat.c (do_initial_windows_stuff): Likewise.
2014-07-25 Pedro Alves <palves@redhat.com> 2014-07-25 Pedro Alves <palves@redhat.com>
* NEWS: Mention signal passing and "signal" command changes. * NEWS: Mention signal passing and "signal" command changes.

View file

@ -716,7 +716,7 @@ go32_create_inferior (struct target_ops *ops, char *exec_file,
add_thread_silent (inferior_ptid); add_thread_silent (inferior_ptid);
clear_proceed_status (); clear_proceed_status (0);
insert_breakpoints (); insert_breakpoints ();
prog_has_started = 1; prog_has_started = 1;
} }

View file

@ -2080,7 +2080,7 @@ monitor_create_inferior (struct target_ops *ops, char *exec_file,
error (_("Args are not supported by the monitor.")); error (_("Args are not supported by the monitor."));
first_time = 1; first_time = 1;
clear_proceed_status (); clear_proceed_status (0);
regcache_write_pc (get_current_regcache (), regcache_write_pc (get_current_regcache (),
bfd_get_start_address (exec_bfd)); bfd_get_start_address (exec_bfd));
} }

View file

@ -340,7 +340,7 @@ m32r_create_inferior (struct target_ops *ops, char *execfile,
/* The "process" (board) is already stopped awaiting our commands, and /* The "process" (board) is already stopped awaiting our commands, and
the program is already downloaded. We just set its PC and go. */ the program is already downloaded. We just set its PC and go. */
clear_proceed_status (); clear_proceed_status (0);
/* Tell wait_for_inferior that we've started a new process. */ /* Tell wait_for_inferior that we've started a new process. */
init_wait_for_inferior (); init_wait_for_inferior ();

View file

@ -658,7 +658,7 @@ gdbsim_create_inferior (struct target_ops *target, char *exec_file, char *args,
insert_breakpoints (); /* Needed to get correct instruction insert_breakpoints (); /* Needed to get correct instruction
in cache. */ in cache. */
clear_proceed_status (); clear_proceed_status (0);
} }
/* The open routine takes the rest of the parameters from the command, /* The open routine takes the rest of the parameters from the command,

View file

@ -416,7 +416,7 @@ irix_solib_create_inferior_hook (int from_tty)
tp = inferior_thread (); tp = inferior_thread ();
clear_proceed_status (); clear_proceed_status (0);
inf->control.stop_soon = STOP_QUIETLY; inf->control.stop_soon = STOP_QUIETLY;
tp->suspend.stop_signal = GDB_SIGNAL_0; tp->suspend.stop_signal = GDB_SIGNAL_0;

View file

@ -340,7 +340,7 @@ osf_solib_create_inferior_hook (int from_tty)
return; return;
tp = inferior_thread (); tp = inferior_thread ();
clear_proceed_status (); clear_proceed_status (0);
inf->control.stop_soon = STOP_QUIETLY; inf->control.stop_soon = STOP_QUIETLY;
tp->suspend.stop_signal = GDB_SIGNAL_0; tp->suspend.stop_signal = GDB_SIGNAL_0;
do do

View file

@ -1731,7 +1731,7 @@ do_initial_windows_stuff (struct target_ops *ops, DWORD pid, int attaching)
push_target (ops); push_target (ops);
disable_breakpoints_in_shlibs (); disable_breakpoints_in_shlibs ();
windows_clear_solib (); windows_clear_solib ();
clear_proceed_status (); clear_proceed_status (0);
init_wait_for_inferior (); init_wait_for_inferior ();
inf = current_inferior (); inf = current_inferior ();