aboutsummaryrefslogtreecommitdiff
path: root/gdb/stabsread.c
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 /gdb/stabsread.c
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.
Diffstat (limited to 'gdb/stabsread.c')
-rw-r--r--gdb/stabsread.c6
1 files changed, 4 insertions, 2 deletions
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 '@':