aboutsummaryrefslogtreecommitdiff
path: root/gdb/s390-tdep.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2001-12-20 03:26:08 +0000
committerJim Blandy <jimb@codesourcery.com>2001-12-20 03:26:08 +0000
commit4e40929968103f27fba096429d4df7e1be8b80e6 (patch)
tree089bb00c6ba305f22a3745efd81aecdee053f56b /gdb/s390-tdep.c
parent3695c2997d939be2c281d498c1b232805b4cb09b (diff)
downloadfsf-binutils-gdb-4e40929968103f27fba096429d4df7e1be8b80e6.zip
fsf-binutils-gdb-4e40929968103f27fba096429d4df7e1be8b80e6.tar.gz
fsf-binutils-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/s390-tdep.c')
-rw-r--r--gdb/s390-tdep.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/s390-tdep.c b/gdb/s390-tdep.c
index 7bab1a8..02786ec 100644
--- a/gdb/s390-tdep.c
+++ b/gdb/s390-tdep.c
@@ -1763,6 +1763,7 @@ s390_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
gdbarch = gdbarch_alloc (&info, NULL);
set_gdbarch_believe_pcc_promotion (gdbarch, 0);
+ set_gdbarch_char_signed (gdbarch, 0);
set_gdbarch_frame_args_skip (gdbarch, 0);
set_gdbarch_frame_args_address (gdbarch, s390_frame_args_address);