* buildsym.c (read_sun_builtin_type): Handle new FCS Sun CC
compiler feature of putting 'c' into basic type descriptors for all forms of char.
This commit is contained in:
parent
99fd9e3ee6
commit
50a11e4933
2 changed files with 12 additions and 0 deletions
|
@ -1,5 +1,9 @@
|
||||||
Thu Jun 25 15:18:42 1992 Stu Grossman (grossman at cygnus.com)
|
Thu Jun 25 15:18:42 1992 Stu Grossman (grossman at cygnus.com)
|
||||||
|
|
||||||
|
* buildsym.c (read_sun_builtin_type): Handle new FCS Sun CC
|
||||||
|
compiler feature of putting 'c' into basic type descriptors for
|
||||||
|
all forms of char.
|
||||||
|
|
||||||
* procfs.c (child_resume): Work around Solaris (on Sparc) lossage
|
* procfs.c (child_resume): Work around Solaris (on Sparc) lossage
|
||||||
where there is no place for nPC in prrun struct.
|
where there is no place for nPC in prrun struct.
|
||||||
|
|
||||||
|
|
|
@ -2988,6 +2988,14 @@ read_sun_builtin_type (pp, typenums, objfile)
|
||||||
}
|
}
|
||||||
(*pp)++;
|
(*pp)++;
|
||||||
|
|
||||||
|
/* For some odd reason, all forms of char put a c here. This is strange
|
||||||
|
because no other type has this honor. We can safely ignore this because
|
||||||
|
we actually determine 'char'acterness by the number of bits specified in
|
||||||
|
the descriptor. */
|
||||||
|
|
||||||
|
if (**pp == 'c')
|
||||||
|
(*pp)++;
|
||||||
|
|
||||||
/* The first number appears to be the number of bytes occupied
|
/* The first number appears to be the number of bytes occupied
|
||||||
by this type, except that unsigned short is 4 instead of 2.
|
by this type, except that unsigned short is 4 instead of 2.
|
||||||
Since this information is redundant with the third number,
|
Since this information is redundant with the third number,
|
||||||
|
|
Loading…
Reference in a new issue