aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2014-09-02 16:29:16 -0700
committerDoug Evans <dje@google.com>2014-09-02 16:29:16 -0700
commit9b94fcf1fae8ceb869e5e13ba66355e969680a3a (patch)
tree1247a5e1a7fc8c7ec26a83dc68773fba105a4568 /gdb
parent54674d38930c7da1af518510fede6f700f5ca596 (diff)
downloadgdb-9b94fcf1fae8ceb869e5e13ba66355e969680a3a.zip
gdb-9b94fcf1fae8ceb869e5e13ba66355e969680a3a.tar.gz
gdb-9b94fcf1fae8ceb869e5e13ba66355e969680a3a.tar.bz2
typeprint.c (find_global_typedef): Fix comment.
gdb/ChangeLog: * typeprint.c (find_global_typedef): Fix comment.
Diffstat (limited to 'gdb')
-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 c0b6d96..4761df8 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2014-09-02 Doug Evans <dje@google.com>
+
+ * typeprint.c (find_global_typedef): Fix comment.
+
2014-09-02 Gary Benson <gbenson@redhat.com>
* i386-nat.h: Renamed as...
diff --git a/gdb/typeprint.c b/gdb/typeprint.c
index 3d8620a..4d3358f 100644
--- a/gdb/typeprint.c
+++ b/gdb/typeprint.c
@@ -286,8 +286,8 @@ find_global_typedef (const struct type_print_options *flags,
return new_tf->name;
}
- /* Put an entry into the hash table now, in case apply_script_type_printers
- recurses. */
+ /* Put an entry into the hash table now, in case
+ apply_ext_lang_type_printers recurses. */
new_tf = XOBNEW (&flags->global_typedefs->storage, struct typedef_field);
new_tf->name = NULL;
new_tf->type = t;