* aix-thread.c (aix_thread_wait): Add options parameter. Use it
authorJoel Brobecker <brobecker@gnat.com>
Thu, 21 May 2009 22:33:46 +0000 (22:33 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Thu, 21 May 2009 22:33:46 +0000 (22:33 +0000)
        to call the to_wait method in the target_beneath.

gdb/ChangeLog
gdb/aix-thread.c

index 56223059fd3c21c876dd7b393fd12ac8990c5b21..66640a9a77fdead8d460ce11f5c5f36331344c1e 100644 (file)
@@ -1,3 +1,8 @@
+2009-05-21  Joel Brobecker  <brobecker@adacore.com>
+
+       * aix-thread.c (aix_thread_wait): Add options parameter.  Use it
+       to call the to_wait method in the target_beneath.
+
 2009-05-21  Pedro Alves  <pedro@codesourcery.com>
 
        * linux-nat.c (linux_nat_terminal_inferior)
index 35103f59ff7a1ab93c0bcf8aa6189588a9e0ba50..8af0571797dca79ae5b087b2b965212b688f0374 100644 (file)
@@ -1012,7 +1012,7 @@ aix_thread_resume (struct target_ops *ops,
 
 static ptid_t
 aix_thread_wait (struct target_ops *ops,
-                ptid_t ptid, struct target_waitstatus *status)
+                ptid_t ptid, struct target_waitstatus *status, int options)
 {
   struct cleanup *cleanup = save_inferior_ptid ();
   struct target_ops *beneath = find_target_beneath (ops);
@@ -1020,7 +1020,7 @@ aix_thread_wait (struct target_ops *ops,
   pid_to_prc (&ptid);
 
   inferior_ptid = pid_to_ptid (PIDGET (inferior_ptid));
-  ptid = beneath->to_wait (beneath, ptid, status);
+  ptid = beneath->to_wait (beneath, ptid, status, options);
   do_cleanups (cleanup);
 
   if (PIDGET (ptid) == -1)
This page took 0.027624 seconds and 4 git commands to generate.