GNU Binutils with patches for OS216
Revision | 9136fe4948dba592c179b5c7930f6dc2ca0bbe5d (tree) |
---|---|
Zeit | 1991-04-19 10:58:50 |
Autor | Jim Kingdon <jkingdon@engr...> |
Commiter | Jim Kingdon |
*** empty log message ***
@@ -1,7 +1,3 @@ | ||
1 | -Thu Apr 18 17:35:47 1991 Jim Kingdon (kingdon at cygint.cygnus.com) | |
2 | - | |
3 | - * Rename Makefile.srcdir to Makefile.sdir. | |
4 | - | |
5 | 1 | Mon Apr 15 21:45:35 1991 Jim Kingdon (kingdon at cygint.cygnus.com) |
6 | 2 | |
7 | 3 | * utils.c (_initialize_utils): Rename "set demangle" to |
@@ -47,6 +47,10 @@ enum strata { | ||
47 | 47 | struct target_ops { |
48 | 48 | char *to_shortname; /* Name this target type */ |
49 | 49 | char *to_longname; /* Name for printing */ |
50 | + /* Documentation. Does not include trailing newline, and | |
51 | + starts with a one-line description (probably similar to | |
52 | + to_longname). */ | |
53 | + char *to_doc; | |
50 | 54 | #ifdef __STDC__ |
51 | 55 | void (*to_open) (char *name, int from_tty); |
52 | 56 | void (*to_close) (int quitting); |
@@ -140,6 +144,9 @@ extern struct target_ops *current_target; | ||
140 | 144 | #define target_shortname (current_target->to_shortname) |
141 | 145 | #define target_longname (current_target->to_longname) |
142 | 146 | |
147 | +/* The open routine takes the rest of the parameters from the command, | |
148 | + and (if successful) pushes a new target onto the stack. | |
149 | + Targets should supply this routine, if only to provide an error message. */ | |
143 | 150 | #define target_open(name, from_tty) \ |
144 | 151 | (*current_target->to_open) (name, from_tty) |
145 | 152 |
@@ -397,10 +404,12 @@ extern int target_xfer_memory(); | ||
397 | 404 | void add_target (struct target_ops *); |
398 | 405 | int push_target (struct target_ops *); |
399 | 406 | int unpush_target (struct target_ops *); |
400 | -void pop_target (); | |
407 | +void target_preopen (int); | |
408 | +void pop_target (void); | |
401 | 409 | #else |
402 | 410 | void add_target (); |
403 | 411 | int push_target (); |
404 | 412 | int unpush_target (); |
413 | +void target_preopen (); | |
405 | 414 | void pop_target (); |
406 | 415 | #endif |