mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-28 22:40:24 +00:00
* c-valprint.c (c_val_print): Handle TYPE_CODE_BOOLEAN.
* stabsread.c: Type -16 is 4 bytes.
This commit is contained in:
parent
a38b1233c2
commit
7e71985c9e
@ -1,5 +1,8 @@
|
||||
Fri Jun 25 11:22:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
|
||||
|
||||
* c-valprint.c (c_val_print): Handle TYPE_CODE_BOOLEAN.
|
||||
* stabsread.c: Type -16 is 4 bytes.
|
||||
|
||||
* remote-udi.c: Improve docstring.
|
||||
|
||||
Fri Jun 25 11:16:31 1993 Fred Fish (fnf@cygnus.com)
|
||||
|
@ -319,6 +319,10 @@ c_val_print (type, valaddr, address, stream, format, deref_ref, recurse,
|
||||
print_address_demangle (address, stream, demangle);
|
||||
break;
|
||||
|
||||
case TYPE_CODE_BOOL:
|
||||
/* Do something at least vaguely reasonable, for example if the
|
||||
language is set wrong. */
|
||||
|
||||
case TYPE_CODE_INT:
|
||||
format = format ? format : output_format;
|
||||
if (format)
|
||||
|
@ -1687,8 +1687,7 @@ rs6000_builtin_type (typenum)
|
||||
rettype = init_type (TYPE_CODE_INT, 4, 0, "integer", NULL);
|
||||
break;
|
||||
case 16:
|
||||
/* What is the proper size of this type? */
|
||||
rettype = init_type (TYPE_CODE_BOOL, 1, 0, "boolean", NULL);
|
||||
rettype = init_type (TYPE_CODE_BOOL, 4, 0, "boolean", NULL);
|
||||
break;
|
||||
case 17:
|
||||
rettype = init_type (TYPE_CODE_FLT, 4, 0, "short real", NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user