mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-20 22:34:14 +08:00
2004-01-28 Roland McGrath <roland@redhat.com>
* target.h (enum target_object): Add TARGET_OBJECT_AUXV. * inftarg.c (child_xfer_partial): Support it using NATIVE_XFER_AUXV macro if that is defined.
This commit is contained in:
@ -578,11 +578,12 @@ child_xfer_partial (struct target_ops *ops, enum target_object object,
|
|||||||
return NATIVE_XFER_UNWIND_TABLE (ops, object, annex, readbuf, writebuf,
|
return NATIVE_XFER_UNWIND_TABLE (ops, object, annex, readbuf, writebuf,
|
||||||
offset, len);
|
offset, len);
|
||||||
|
|
||||||
#if 0
|
|
||||||
case TARGET_OBJECT_AUXV:
|
case TARGET_OBJECT_AUXV:
|
||||||
return native_xfer_auxv (PIDGET (inferior_ptid), readbuf, writebuf,
|
#ifndef NATIVE_XFER_AUXV
|
||||||
offset, len);
|
#define NATIVE_XFER_AUXV(OPS,OBJECT,ANNEX,WRITEBUF,READBUF,OFFSET,LEN) (-1)
|
||||||
#endif
|
#endif
|
||||||
|
return NATIVE_XFER_AUXV (ops, object, annex, readbuf, writebuf,
|
||||||
|
offset, len);
|
||||||
|
|
||||||
default:
|
default:
|
||||||
return -1;
|
return -1;
|
||||||
|
@ -226,8 +226,10 @@ enum target_object
|
|||||||
TARGET_OBJECT_MEMORY,
|
TARGET_OBJECT_MEMORY,
|
||||||
/* Kernel Unwind Table. See "ia64-tdep.c". */
|
/* Kernel Unwind Table. See "ia64-tdep.c". */
|
||||||
TARGET_OBJECT_UNWIND_TABLE,
|
TARGET_OBJECT_UNWIND_TABLE,
|
||||||
/* Possible future objects: TARGET_OBJECT_FILE, TARGET_OBJECT_PROC,
|
/* Transfer auxilliary vector. */
|
||||||
TARGET_OBJECT_AUXV, ... */
|
TARGET_OBJECT_AUXV,
|
||||||
|
|
||||||
|
/* Possible future objects: TARGET_OBJECT_FILE, TARGET_OBJECT_PROC, ... */
|
||||||
};
|
};
|
||||||
|
|
||||||
extern LONGEST target_read_partial (struct target_ops *ops,
|
extern LONGEST target_read_partial (struct target_ops *ops,
|
||||||
|
Reference in New Issue
Block a user