diff options
author | Jim Blandy <jimb@codesourcery.com> | 2001-12-20 03:26:08 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2001-12-20 03:26:08 +0000 |
commit | 4e40929968103f27fba096429d4df7e1be8b80e6 (patch) | |
tree | 089bb00c6ba305f22a3745efd81aecdee053f56b /gdb/rs6000-tdep.c | |
parent | 3695c2997d939be2c281d498c1b232805b4cb09b (diff) | |
download | gdb-4e40929968103f27fba096429d4df7e1be8b80e6.zip gdb-4e40929968103f27fba096429d4df7e1be8b80e6.tar.gz gdb-4e40929968103f27fba096429d4df7e1be8b80e6.tar.bz2 |
* gdbarch.sh (TARGET_CHAR_SIGNED): New macro.
* gdbarch.c, gdbarch.h: Regenerated.
* gdbtypes.c (build_gdbtypes): If TARGET_CHAR_SIGNED is zero,
set the TYPE_FLAG_UNSIGNED bit on the type.
* s390-tdep.c (s390_gdbarch_init): On the S/390, characters
are unsigned by default.
* rs6000-tdep.c (rs6000_gdbarch_init): Same for PowerPC and
RS6000.
Diffstat (limited to 'gdb/rs6000-tdep.c')
-rw-r--r-- | gdb/rs6000-tdep.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c index 70facb4..081eccb 100644 --- a/gdb/rs6000-tdep.c +++ b/gdb/rs6000-tdep.c @@ -2298,6 +2298,7 @@ rs6000_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_float_bit (gdbarch, 4 * TARGET_CHAR_BIT); set_gdbarch_double_bit (gdbarch, 8 * TARGET_CHAR_BIT); set_gdbarch_long_double_bit (gdbarch, 8 * TARGET_CHAR_BIT); + set_gdbarch_char_signed (gdbarch, 0); set_gdbarch_use_generic_dummy_frames (gdbarch, 1); set_gdbarch_call_dummy_length (gdbarch, 0); |