This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 4/9] fix erroneous comment about gcc
- From: Tom Tromey <tromey at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 07 Sep 2012 12:48:32 -0600
- Subject: [PATCH 4/9] fix erroneous comment about gcc
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