This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] Add options argument to dec-thread.c and remote-m32r-sdi.c's to_wait methods.


Looks like I missed these too...

Checked in.

-- 
Pedro Alves

2009-05-21  Pedro Alves  <pedro@codesourcery.com>

	* 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/dec-thread.c      |    2 +-
 gdb/remote-m32r-sdi.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Index: src/gdb/dec-thread.c
===================================================================
--- src.orig/gdb/dec-thread.c	2009-05-21 23:47:20.000000000 +0100
+++ src/gdb/dec-thread.c	2009-05-21 23:49:42.000000000 +0100
@@ -452,7 +452,7 @@ 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);
Index: src/gdb/remote-m32r-sdi.c
===================================================================
--- src.orig/gdb/remote-m32r-sdi.c	2009-05-21 23:48:54.000000000 +0100
+++ src/gdb/remote-m32r-sdi.c	2009-05-21 23:49:00.000000000 +0100
@@ -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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]