aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2002-01-15 16:47:17 +0000
committerDaniel Jacobowitz <drow@false.org>2002-01-15 16:47:17 +0000
commitd7242108d7b130fb18fc591e5be389406fca526e (patch)
tree4689540e17956299caf9ec147f4f44933772e019
parentbfae80f222dbbb8f86156c988a95124a880df6e7 (diff)
downloadgdb-d7242108d7b130fb18fc591e5be389406fca526e.zip
gdb-d7242108d7b130fb18fc591e5be389406fca526e.tar.gz
gdb-d7242108d7b130fb18fc591e5be389406fca526e.tar.bz2
2001-01-15 Daniel Jacobowitz <drow@mvista.com>
* stabsread.c (read_type): Pass dbx_lookup_type (typenums) to make_cv_type.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/stabsread.c6
2 files changed, 9 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 9b66955..5347d1f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2001-01-15 Daniel Jacobowitz <drow@mvista.com>
+
+ * stabsread.c (read_type): Pass dbx_lookup_type (typenums)
+ to make_cv_type.
+
2002-01-14 Andrew Cagney <ac131313@redhat.com>
* config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename
diff --git a/gdb/stabsread.c b/gdb/stabsread.c
index 25937b1..45075a6 100644
--- a/gdb/stabsread.c
+++ b/gdb/stabsread.c
@@ -2586,7 +2586,8 @@ again:
if (type_descriptor == 'c' && !os9k_stabs)
return error_type (pp, objfile);
type = read_type (pp, objfile);
- type = make_cv_type (1, TYPE_VOLATILE (type), type, 0);
+ type = make_cv_type (1, TYPE_VOLATILE (type), type,
+ dbx_lookup_type (typenums));
break;
case 'B': /* Volatile qual on some type (Sun) */
@@ -2596,7 +2597,8 @@ again:
if (type_descriptor == 'i' && !os9k_stabs)
return error_type (pp, objfile);
type = read_type (pp, objfile);
- type = make_cv_type (TYPE_CONST (type), 1, type, 0);
+ type = make_cv_type (TYPE_CONST (type), 1, type,
+ dbx_lookup_type (typenums));
break;
case '@':