* c-exp.y, gdbtypes.h: Add builtin_type_signed_char.

* cplus-dem.c:  Support "Sc" meaning "signed char".
This commit is contained in:
Per Bothner
1992-03-26 08:33:43 +00:00
parent 88f36033ee
commit 04f27ddc6d
4 changed files with 21 additions and 0 deletions

View File

@ -507,6 +507,7 @@ cplus_demangle (type, arg_mode)
done = is_pointer = 1;
break;
case 'C': /* const */
case 'S': /* explicitly signed [char] */
case 'U': /* unsigned */
case 'V': /* volatile */
case 'F': /* function */
@ -867,6 +868,14 @@ do_type (type, result, arg_mode)
non_empty = 1;
string_append (result, "unsigned");
break;
case 'S': /* signed char only */
*type += 1;
if (non_empty)
string_append (result, " ");
else
non_empty = 1;
string_append (result, "signed");
break;
case 'V':
*type += 1;
if (print_ansi_qualifiers)