* gdbint.texinfo (TARGET_CHAR_SIGNED): Document.
authorJim Blandy <jimb@codesourcery.com>
Thu, 20 Dec 2001 21:16:31 +0000 (21:16 +0000)
committerJim Blandy <jimb@codesourcery.com>
Thu, 20 Dec 2001 21:16:31 +0000 (21:16 +0000)
gdb/doc/ChangeLog
gdb/doc/gdbint.texinfo

index 9be00483bc03eff569e628c4bb276fea4b994e6f..51725baff8f2ab74eacda0a4548104857b90eb4d 100644 (file)
@@ -1,3 +1,7 @@
+2001-12-20  Jim Blandy  <jimb@redhat.com>
+
+       * gdbint.texinfo (TARGET_CHAR_SIGNED): Document.
+
 2001-12-15  Andrew Cagney  <ac131313@redhat.com>
 
        * gdbint.texinfo (Target Architecture Definition): Replace
index cf0d9301d15f30b67bfda2d787cdfba86fbb76fc..8c4e73966af5f3d277d6e79aa0f6d5782a2a568b 100644 (file)
@@ -3501,6 +3501,17 @@ Non-zero if the target has both @code{BIG_ENDIAN} and
 @findex TARGET_CHAR_BIT
 Number of bits in a char; defaults to 8.
 
+@item TARGET_CHAR_SIGNED
+@findex TARGET_CHAR_SIGNED
+Non-zero if @code{char} is normally signed on this architecture; zero if
+it should be unsigned.
+
+The ISO C standard requires the compiler to treat @code{char} as
+equivalent to either @code{signed char} or @code{unsigned char}; any
+character in the standard execution set is supposed to be positive.
+Most compilers treat @code{char} as signed, but @code{char} is unsigned
+on the IBM S/390, RS6000, and PowerPC targets.
+
 @item TARGET_COMPLEX_BIT
 @findex TARGET_COMPLEX_BIT
 Number of bits in a complex number; defaults to @code{2 * TARGET_FLOAT_BIT}.