aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-10-19 15:56:20 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-10-19 15:56:20 +0000
commit915e6cd9f60bfb1976b95871ecee36c7b27cd351 (patch)
treeb4f7a5f4107a2c37797c8337e0ee96f5741c2385
parent0ac1a039f4c83ee0cc6d1eaa4c3af48383f7d9c6 (diff)
downloadgdb-915e6cd9f60bfb1976b95871ecee36c7b27cd351.zip
gdb-915e6cd9f60bfb1976b95871ecee36c7b27cd351.tar.gz
gdb-915e6cd9f60bfb1976b95871ecee36c7b27cd351.tar.bz2
* typeprint.c: Add "class CLASS-NAME" to docstring for ptype.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/typeprint.c4
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,