This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[COMMIT] Get rid of NATIVE_XFER_WCOOKIE
- From: Mark Kettenis <kettenis at gnu dot org>
- To: gdb-patches at sources dot redhat dot com
- Date: Mon, 27 Dec 2004 00:24:57 +0100 (CET)
- Subject: [COMMIT] Get rid of NATIVE_XFER_WCOOKIE
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;
}