From 915e6cd9f60bfb1976b95871ecee36c7b27cd351 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Tue, 19 Oct 1993 15:56:20 +0000 Subject: [PATCH] * typeprint.c: Add "class CLASS-NAME" to docstring for ptype. --- gdb/ChangeLog | 4 ++++ gdb/typeprint.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4bdcc5917ad..9d61c710e52 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 5e13e07fb4d..2bf0d05aa04 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, -- 2.30.2