OSDN Git Service

* dec-thread.c (dec_thread_wait): Add options parameter. Use it
authorPedro Alves <pedro@codesourcery.com>
Thu, 21 May 2009 22:53:28 +0000 (22:53 +0000)
committerPedro Alves <pedro@codesourcery.com>
Thu, 21 May 2009 22:53:28 +0000 (22:53 +0000)
to call the to_wait method in the target beneath.
* remote-m32r-sdi.c (m32r_wait): Add options parameter.

gdb/ChangeLog
gdb/dec-thread.c
gdb/remote-m32r-sdi.c

index 66640a9..03c9ead 100644 (file)
@@ -1,3 +1,9 @@
+2009-05-21  Pedro Alves  <pedro@codesourcery.com>
+
+       * dec-thread.c (dec_thread_wait): Add options parameter.  Use it
+       to call the to_wait method in the target beneath.
+       * remote-m32r-sdi.c (m32r_wait): Add options parameter.
+
 2009-05-21  Joel Brobecker  <brobecker@adacore.com>
 
        * aix-thread.c (aix_thread_wait): Add options parameter.  Use it
index aa40c59..0fa950f 100644 (file)
@@ -452,14 +452,14 @@ get_active_ptid (void)
 
 static ptid_t
 dec_thread_wait (struct target_ops *ops,
-                ptid_t ptid, struct target_waitstatus *status)
+                ptid_t ptid, struct target_waitstatus *status, int options)
 {
   ptid_t active_ptid;
   struct target_ops *beneath = find_target_beneath (ops);
 
   debug ("dec_thread_wait");
 
-  ptid = beneath->to_wait (beneath, ptid, status);
+  ptid = beneath->to_wait (beneath, ptid, status, options);
 
   /* The ptid returned by the target beneath us is the ptid of the process.
      We need to find which thread is currently active and return its ptid.  */
index 7aedd3d..8d1ce75 100644 (file)
@@ -695,7 +695,7 @@ gdb_cntrl_c (int signo)
 
 static ptid_t
 m32r_wait (struct target_ops *ops,
-          ptid_t ptid, struct target_waitstatus *status)
+          ptid_t ptid, struct target_waitstatus *status, int options)
 {
   static RETSIGTYPE (*prev_sigint) ();
   unsigned long bp_addr, pc_addr;