diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-10-31 19:19:51 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-10-31 19:19:51 +0000 |
commit | bba2d28ded4abe604ffb54ed1cd4c1e596b98193 (patch) | |
tree | 0e24a5e719cc43ac05fb453c5c7228d5e859995a /gdb/target.h | |
parent | 162cec1b31b39facf368e8ad99b7dd5685ab10b5 (diff) | |
download | gdb-bba2d28ded4abe604ffb54ed1cd4c1e596b98193.zip gdb-bba2d28ded4abe604ffb54ed1cd4c1e596b98193.tar.gz gdb-bba2d28ded4abe604ffb54ed1cd4c1e596b98193.tar.bz2 |
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.
Diffstat (limited to 'gdb/target.h')
-rw-r--r-- | gdb/target.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/target.h b/gdb/target.h index 0746c1d..de09208 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -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 |