From: Pedro Alves Date: Fri, 25 Jul 2014 16:34:05 +0000 (+0100) Subject: fix build: update clear_proceed_status callers X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=88056fbbf4fc603517ce2e09c0ee4398ab354836;p=binutils-gdb.git 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 * 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index dd41478c4f5..d496dbf9ef4 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,13 @@ +2014-07-25 Pedro Alves + + * 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 * NEWS: Mention signal passing and "signal" command changes. diff --git a/gdb/go32-nat.c b/gdb/go32-nat.c index 27938cceb16..b2570e848ab 100644 --- a/gdb/go32-nat.c +++ b/gdb/go32-nat.c @@ -716,7 +716,7 @@ go32_create_inferior (struct target_ops *ops, char *exec_file, add_thread_silent (inferior_ptid); - clear_proceed_status (); + clear_proceed_status (0); insert_breakpoints (); prog_has_started = 1; } diff --git a/gdb/monitor.c b/gdb/monitor.c index 6767197ac61..94b85d3dad1 100644 --- a/gdb/monitor.c +++ b/gdb/monitor.c @@ -2080,7 +2080,7 @@ monitor_create_inferior (struct target_ops *ops, char *exec_file, error (_("Args are not supported by the monitor.")); first_time = 1; - clear_proceed_status (); + clear_proceed_status (0); regcache_write_pc (get_current_regcache (), bfd_get_start_address (exec_bfd)); } diff --git a/gdb/remote-m32r-sdi.c b/gdb/remote-m32r-sdi.c index 37efaec6b5f..38cfba7635d 100644 --- a/gdb/remote-m32r-sdi.c +++ b/gdb/remote-m32r-sdi.c @@ -340,7 +340,7 @@ m32r_create_inferior (struct target_ops *ops, char *execfile, /* The "process" (board) is already stopped awaiting our commands, and 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. */ init_wait_for_inferior (); diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c index 4097372489b..3acc9da52ac 100644 --- a/gdb/remote-sim.c +++ b/gdb/remote-sim.c @@ -658,7 +658,7 @@ gdbsim_create_inferior (struct target_ops *target, char *exec_file, char *args, insert_breakpoints (); /* Needed to get correct instruction in cache. */ - clear_proceed_status (); + clear_proceed_status (0); } /* The open routine takes the rest of the parameters from the command, diff --git a/gdb/solib-irix.c b/gdb/solib-irix.c index 9c0838f1032..12ed7660f78 100644 --- a/gdb/solib-irix.c +++ b/gdb/solib-irix.c @@ -416,7 +416,7 @@ irix_solib_create_inferior_hook (int from_tty) tp = inferior_thread (); - clear_proceed_status (); + clear_proceed_status (0); inf->control.stop_soon = STOP_QUIETLY; tp->suspend.stop_signal = GDB_SIGNAL_0; diff --git a/gdb/solib-osf.c b/gdb/solib-osf.c index 87777152d9d..404a56bd915 100644 --- a/gdb/solib-osf.c +++ b/gdb/solib-osf.c @@ -340,7 +340,7 @@ osf_solib_create_inferior_hook (int from_tty) return; tp = inferior_thread (); - clear_proceed_status (); + clear_proceed_status (0); inf->control.stop_soon = STOP_QUIETLY; tp->suspend.stop_signal = GDB_SIGNAL_0; do diff --git a/gdb/windows-nat.c b/gdb/windows-nat.c index 74fe30f1950..3d101a1b9af 100644 --- a/gdb/windows-nat.c +++ b/gdb/windows-nat.c @@ -1731,7 +1731,7 @@ do_initial_windows_stuff (struct target_ops *ops, DWORD pid, int attaching) push_target (ops); disable_breakpoints_in_shlibs (); windows_clear_solib (); - clear_proceed_status (); + clear_proceed_status (0); init_wait_for_inferior (); inf = current_inferior ();