diff options
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/typeprint.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4bdcc59..9d61c71 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +Tue Oct 19 10:43:16 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * typeprint.c: Add "class CLASS-NAME" to docstring for ptype. + Tue Oct 19 06:17:10 1993 Fred Fish (fnf@cirdan.cygnus.com) * Makefile.in (ALLPARAM): Add config/m88k/{nm-delta88v4.h, diff --git a/gdb/typeprint.c b/gdb/typeprint.c index 5e13e07..2bf0d05 100644 --- a/gdb/typeprint.c +++ b/gdb/typeprint.c @@ -287,8 +287,8 @@ _initialize_typeprint () add_com ("ptype", class_vars, ptype_command, "Print definition of type TYPE.\n\ -Argument may be a type name defined by typedef, or \"struct STRUCTNAME\"\n\ -or \"union UNIONNAME\" or \"enum ENUMNAME\".\n\ +Argument may be a type name defined by typedef, or \"struct STRUCT-TAG\"\n\ +or \"class CLASS-NAME\" or \"union UNION-TAG\" or \"enum ENUM-TAG\".\n\ The selected stack frame's lexical context is used to look up the name."); add_com ("whatis", class_vars, whatis_command, |