aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2001-12-20 21:16:31 +0000
committerJim Blandy <jimb@codesourcery.com>2001-12-20 21:16:31 +0000
commitc3d3ce5b899ed50f90638541669be99930216730 (patch)
tree224063a772e9816e79f8785fe153a0222cd51035
parenta8e8e863252e99406de05aa579ed0ced5c6986cd (diff)
downloadgdb-c3d3ce5b899ed50f90638541669be99930216730.zip
gdb-c3d3ce5b899ed50f90638541669be99930216730.tar.gz
gdb-c3d3ce5b899ed50f90638541669be99930216730.tar.bz2
* gdbint.texinfo (TARGET_CHAR_SIGNED): Document.
-rw-r--r--gdb/doc/ChangeLog4
-rw-r--r--gdb/doc/gdbint.texinfo11
2 files changed, 15 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 9be0048..51725ba 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -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
diff --git a/gdb/doc/gdbint.texinfo b/gdb/doc/gdbint.texinfo
index cf0d930..8c4e739 100644
--- a/gdb/doc/gdbint.texinfo
+++ b/gdb/doc/gdbint.texinfo
@@ -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}.