This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[pushed] fix build: update clear_proceed_status callers


On 07/25/2014 05:01 PM, Pedro Alves wrote:

> Thanks.  Removed it, and pushed the patch, as below.

Sigh.  I somehow I forgot to update a few clear_proceed_status
callers...

Fixed with the patch below.

------------
[PATCH] 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.
---
 gdb/ChangeLog         | 10 ++++++++++
 gdb/go32-nat.c        |  2 +-
 gdb/monitor.c         |  2 +-
 gdb/remote-m32r-sdi.c |  2 +-
 gdb/remote-sim.c      |  2 +-
 gdb/solib-irix.c      |  2 +-
 gdb/solib-osf.c       |  2 +-
 gdb/windows-nat.c     |  2 +-
 8 files changed, 17 insertions(+), 7 deletions(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index dd41478..d496dbf 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,15 @@
 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>
+
 	* NEWS: Mention signal passing and "signal" command changes.
 	* gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend
 	comment.
diff --git a/gdb/go32-nat.c b/gdb/go32-nat.c
index 27938cc..b2570e8 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 6767197..94b85d3 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 37efaec..38cfba7 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 4097372..3acc9da 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 9c0838f..12ed766 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 8777715..404a56b 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 74fe30f..3d101a1 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 ();
-- 
1.9.3


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]