aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-09-21 17:33:17 +0000
committerTom Tromey <tromey@redhat.com>2012-09-21 17:33:17 +0000
commit62a49610b840edcddb0cc38d1f2559f627ea0c08 (patch)
treeff3983b06a13a8a6d7d2901eb0c47c33745a8ebe
parent2603f7eeca78caeef1f362eccebe7cd4b589ba41 (diff)
downloadgdb-62a49610b840edcddb0cc38d1f2559f627ea0c08.zip
gdb-62a49610b840edcddb0cc38d1f2559f627ea0c08.tar.gz
gdb-62a49610b840edcddb0cc38d1f2559f627ea0c08.tar.bz2
* c-typeprint.c (cp_type_print_derivation_info): Fix comment.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/c-typeprint.c7
2 files changed, 5 insertions, 6 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index ae08dd4..fdbea6f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2012-09-21 Tom Tromey <tromey@redhat.com>
+
+ * c-typeprint.c (cp_type_print_derivation_info): Fix comment.
+
2012-09-21 Andrew Burgess <aburgess@broadcom.com>
* findvar.c (read_frame_register_value): Mark the result value as
diff --git a/gdb/c-typeprint.c b/gdb/c-typeprint.c
index 92bc47d..71d84cf 100644
--- a/gdb/c-typeprint.c
+++ b/gdb/c-typeprint.c
@@ -131,12 +131,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,