[COMMIT] Get rid of NATIVE_XFER_WCOOKIE

Mark Kettenis kettenis@gnu.org
Mon Dec 27 15:08:00 GMT 2004


Target vector inheritance handles this now.

Committed,

Mark


Index: ChangeLog
from  Mark Kettenis  <kettenis@gnu.org>

	* inftarg.c (child_xfer_partial): Remove code that handles
	TARGET_OBJ_WCOOKIE.

Index: inftarg.c
===================================================================
RCS file: /cvs/src/src/gdb/inftarg.c,v
retrieving revision 1.36
diff -u -p -r1.36 inftarg.c
--- inftarg.c 25 Dec 2004 12:31:35 -0000 1.36
+++ inftarg.c 26 Dec 2004 23:22:10 -0000
@@ -559,13 +559,6 @@ child_xfer_partial (struct target_ops *o
       return NATIVE_XFER_AUXV (ops, object, annex, readbuf, writebuf,
 			       offset, len);
 
-    case TARGET_OBJECT_WCOOKIE:
-#ifndef NATIVE_XFER_WCOOKIE
-#define NATIVE_XFER_WCOOKIE(OPS,OBJECT,ANNEX,WRITEBUF,READBUF,OFFSET,LEN) (-1)
-#endif
-      return NATIVE_XFER_WCOOKIE (ops, object, annex, readbuf, writebuf,
-				  offset, len);
-
     default:
       return -1;
     }



More information about the Gdb-patches mailing list