• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


Commit MetaInfo

Revision9136fe4948dba592c179b5c7930f6dc2ca0bbe5d (tree)
Zeit1991-04-19 10:58:50
AutorJim Kingdon <jkingdon@engr...>
CommiterJim Kingdon

Log Message

*** empty log message ***

Ändern Zusammenfassung

Diff

--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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-
51 Mon Apr 15 21:45:35 1991 Jim Kingdon (kingdon at cygint.cygnus.com)
62
73 * utils.c (_initialize_utils): Rename "set demangle" to
--- a/gdb/target.h
+++ b/gdb/target.h
@@ -47,6 +47,10 @@ enum strata {
4747 struct target_ops {
4848 char *to_shortname; /* Name this target type */
4949 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;
5054 #ifdef __STDC__
5155 void (*to_open) (char *name, int from_tty);
5256 void (*to_close) (int quitting);
@@ -140,6 +144,9 @@ extern struct target_ops *current_target;
140144 #define target_shortname (current_target->to_shortname)
141145 #define target_longname (current_target->to_longname)
142146
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. */
143150 #define target_open(name, from_tty) \
144151 (*current_target->to_open) (name, from_tty)
145152
@@ -397,10 +404,12 @@ extern int target_xfer_memory();
397404 void add_target (struct target_ops *);
398405 int push_target (struct target_ops *);
399406 int unpush_target (struct target_ops *);
400-void pop_target ();
407+void target_preopen (int);
408+void pop_target (void);
401409 #else
402410 void add_target ();
403411 int push_target ();
404412 int unpush_target ();
413+void target_preopen ();
405414 void pop_target ();
406415 #endif