summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2009-05-21 22:33:46 +0000
committerJoel Brobecker <brobecker@gnat.com>2009-05-21 22:33:46 +0000
commit18e05b4f72a7e5ee0f2636c68c433c5e73cc70c5 (patch)
tree33cf96e34e40f6d4c8172bfba64ab1fd073f3898
parent7fa93a2e08d4b2fd9592502af4bf8c0fb1cccd07 (diff)
downloadgdb-18e05b4f72a7e5ee0f2636c68c433c5e73cc70c5.tar.gz
* aix-thread.c (aix_thread_wait): Add options parameter. Use it
to call the to_wait method in the target_beneath.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/aix-thread.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 56223059fd3..66640a9a77f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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)
diff --git a/gdb/aix-thread.c b/gdb/aix-thread.c
index 35103f59ff7..8af0571797d 100644
--- a/gdb/aix-thread.c
+++ b/gdb/aix-thread.c
@@ -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)