This is the mail archive of the gdb-patches@sources.redhat.com 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]

[patch] Tweek remote-udi.c to correctly use ptid_t


Just FYI,

Not show how it happened but the fix is hopefully clear.

	Andrew
2001-07-08  Andrew Cagney  <ac131313@redhat.com>

	* remote-udi.c (udi_wait): Make type, instead of name, of first
	parameter a ptid_t.

Index: remote-udi.c
===================================================================
RCS file: /cvs/src/src/gdb/remote-udi.c,v
retrieving revision 1.15
diff -p -r1.15 remote-udi.c
*** remote-udi.c	2001/05/04 04:15:26	1.15
--- remote-udi.c	2001/07/08 20:18:25
*************** udi_resume (ptid_t ptid, int step, enum 
*** 409,415 ****
     storing status in STATUS just as `wait' would.  */
  
  static ptid_t
! udi_wait (int ptid_t, struct target_waitstatus *status)
  {
    UDIInt32 MaxTime;
    UDIPId PId;
--- 409,415 ----
     storing status in STATUS just as `wait' would.  */
  
  static ptid_t
! udi_wait (ptid_t ptid, struct target_waitstatus *status)
  {
    UDIInt32 MaxTime;
    UDIPId PId;

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