diff options
author | Joel Brobecker <brobecker@gnat.com> | 2009-05-21 22:33:46 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2009-05-21 22:33:46 +0000 |
commit | 8914d83b2f6c00cd9add9466a088c4f95c056111 (patch) | |
tree | 10de7cb5b2ada1bb0122ba5d6714be275a233964 /gdb/aix-thread.c | |
parent | c344f845688ad74a0dbac376736abb71069fa0b1 (diff) | |
download | gdb-8914d83b2f6c00cd9add9466a088c4f95c056111.zip gdb-8914d83b2f6c00cd9add9466a088c4f95c056111.tar.gz gdb-8914d83b2f6c00cd9add9466a088c4f95c056111.tar.bz2 |
* aix-thread.c (aix_thread_wait): Add options parameter. Use it
to call the to_wait method in the target_beneath.
Diffstat (limited to 'gdb/aix-thread.c')
-rw-r--r-- | gdb/aix-thread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/aix-thread.c b/gdb/aix-thread.c index 35103f5..8af0571 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) |