mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-18 21:34:13 +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,
|
||||
offset, len);
|
||||
|
||||
#if 0
|
||||
case TARGET_OBJECT_AUXV:
|
||||
return native_xfer_auxv (PIDGET (inferior_ptid), readbuf, writebuf,
|
||||
offset, len);
|
||||
#ifndef NATIVE_XFER_AUXV
|
||||
#define NATIVE_XFER_AUXV(OPS,OBJECT,ANNEX,WRITEBUF,READBUF,OFFSET,LEN) (-1)
|
||||
#endif
|
||||
return NATIVE_XFER_AUXV (ops, object, annex, readbuf, writebuf,
|
||||
offset, len);
|
||||
|
||||
default:
|
||||
return -1;
|
||||
|
@ -226,8 +226,10 @@ enum target_object
|
||||
TARGET_OBJECT_MEMORY,
|
||||
/* Kernel Unwind Table. See "ia64-tdep.c". */
|
||||
TARGET_OBJECT_UNWIND_TABLE,
|
||||
/* Possible future objects: TARGET_OBJECT_FILE, TARGET_OBJECT_PROC,
|
||||
TARGET_OBJECT_AUXV, ... */
|
||||
/* Transfer auxilliary vector. */
|
||||
TARGET_OBJECT_AUXV,
|
||||
|
||||
/* Possible future objects: TARGET_OBJECT_FILE, TARGET_OBJECT_PROC, ... */
|
||||
};
|
||||
|
||||
extern LONGEST target_read_partial (struct target_ops *ops,
|
||||
|
Reference in New Issue
Block a user