diff options
author | Daniel Jacobowitz <dan@debian.org> | 2002-01-15 16:47:17 +0000 |
---|---|---|
committer | Daniel Jacobowitz <dan@debian.org> | 2002-01-15 16:47:17 +0000 |
commit | 8257ad534bc54831b74060b84afb83940fbadfc9 (patch) | |
tree | bec418760f74ae7472e44a2d5d34ea350c16ab57 /gdb/stabsread.c | |
parent | 758e315cb92f4ccd5add35d7cbaee0e88e300cc2 (diff) | |
download | gdb-8257ad534bc54831b74060b84afb83940fbadfc9.tar.gz |
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.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/stabsread.c b/gdb/stabsread.c index 25937b1f455..45075a62096 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 '@': |