mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-12 01:24:12 +08:00
* c-exp.y, gdbtypes.h: Add builtin_type_signed_char.
* cplus-dem.c: Support "Sc" meaning "signed char".
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user