From 61439e34f1e5be7a27ac4293b29513a4cf20ca37 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Thu, 21 May 2009 22:53:29 +0000 Subject: [PATCH] * 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. --- gdb/ChangeLog | 6 ++++++ gdb/dec-thread.c | 4 ++-- gdb/remote-m32r-sdi.c | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 66640a9a77f..03c9ead49f9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2009-05-21 Pedro Alves + + * 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 * aix-thread.c (aix_thread_wait): Add options parameter. Use it diff --git a/gdb/dec-thread.c b/gdb/dec-thread.c index aa40c5988a9..0fa950f093c 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. */ diff --git a/gdb/remote-m32r-sdi.c b/gdb/remote-m32r-sdi.c index 7aedd3d8da6..8d1ce759abd 100644 --- a/gdb/remote-m32r-sdi.c +++ b/gdb/remote-m32r-sdi.c @@ -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; -- 2.30.2