mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
2003-10-31 Andrew Cagney <cagney@redhat.com>
* defs.h (XZALLOC): Define. * target.h (struct target_ops): Add "to_data"; * bfd-target.h, bfd-target.c: New files. * Makefile.in (SFILES): Add "bfd-target.c". (COMMON_OBS): Add "bfd-target.o". (bfd-target.o): Specify dependencies. (bfd_target_h): Define. * defs.h (XZALLOC): Define.
This commit is contained in:
@@ -280,6 +280,8 @@ struct target_ops
|
||||
char *to_doc; /* Documentation. Does not include trailing
|
||||
newline, and starts with a one-line descrip-
|
||||
tion (probably similar to to_longname). */
|
||||
/* Per-target scratch pad. */
|
||||
void *to_data;
|
||||
/* The open routine takes the rest of the parameters from the
|
||||
command, and (if successful) pushes a new target onto the
|
||||
stack. Targets should supply this routine, if only to provide
|
||||
|
||||
Reference in New Issue
Block a user