[PATCH 4/9] fix erroneous comment about gcc

Tom Tromey tromey@redhat.com
Fri Sep 7 18:48:00 GMT 2012


This removes a bogus comment.

	* c-typeprint.c (cp_type_print_derivation_info): Fix comment.
---
 gdb/c-typeprint.c |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/gdb/c-typeprint.c b/gdb/c-typeprint.c
index a1e1882..22207bc 100644
--- a/gdb/c-typeprint.c
+++ b/gdb/c-typeprint.c
@@ -134,12 +134,7 @@ c_print_typedef (struct type *type,
    }
 
    In general, gdb should try to print the types as closely as
-   possible to the form that they appear in the source code.
-
-   Note that in case of protected derivation gcc will not say
-   'protected' but 'private'.  The HP's aCC compiler emits specific
-   information for derivation via protected inheritance, so gdb can
-   print it out */
+   possible to the form that they appear in the source code.  */
 
 static void
 cp_type_print_derivation_info (struct ui_file *stream,
-- 
1.7.7.6



More information about the Gdb-patches mailing list