aboutsummaryrefslogtreecommitdiff
path: root/gdb/hp-symtab-read.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/hp-symtab-read.c')
-rw-r--r--gdb/hp-symtab-read.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/hp-symtab-read.c b/gdb/hp-symtab-read.c
index 9898cfc..57665ff 100644
--- a/gdb/hp-symtab-read.c
+++ b/gdb/hp-symtab-read.c
@@ -2018,6 +2018,9 @@ hpread_read_struct_type (dnttpointer hp_type, union dnttentry *dn_bufp,
/* Clear the global saying what template we are in the middle of processing */
current_template = NULL;
+ /* Fix up any cv-qualified versions of this type. */
+ finish_cv_type (type);
+
return type;
}