diff options
author | Pedro Alves <palves@redhat.com> | 2009-05-21 22:53:29 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2009-05-21 22:53:29 +0000 |
commit | 61439e34f1e5be7a27ac4293b29513a4cf20ca37 (patch) | |
tree | 1f528b79d1cc62ea4dd165ad4edc2ad89b26307f /gdb/dec-thread.c | |
parent | 8914d83b2f6c00cd9add9466a088c4f95c056111 (diff) | |
download | gdb-61439e34f1e5be7a27ac4293b29513a4cf20ca37.zip gdb-61439e34f1e5be7a27ac4293b29513a4cf20ca37.tar.gz gdb-61439e34f1e5be7a27ac4293b29513a4cf20ca37.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/dec-thread.c')
-rw-r--r-- | gdb/dec-thread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/dec-thread.c b/gdb/dec-thread.c index aa40c59..0fa950f 100644 --- a/gdb/dec-thread.c +++ b/gdb/dec-thread.c @@ -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. */ |