aboutsummaryrefslogtreecommitdiff
path: root/gdb/m68hc11-tdep.c
diff options
context:
space:
mode:
authorStephane Carrez <stcarrez@nerim.fr>2003-06-23 20:06:37 +0000
committerStephane Carrez <stcarrez@nerim.fr>2003-06-23 20:06:37 +0000
commitb2a02dda88806553934ab9bc63c1633ae0f83bdf (patch)
treee520e19af1cb2d429c794d4bfb7749cabd507287 /gdb/m68hc11-tdep.c
parentfba3138ed54e4df55d99cf903e236a683f39004a (diff)
downloadgdb-b2a02dda88806553934ab9bc63c1633ae0f83bdf.zip
gdb-b2a02dda88806553934ab9bc63c1633ae0f83bdf.tar.gz
gdb-b2a02dda88806553934ab9bc63c1633ae0f83bdf.tar.bz2
* m68hc11-tdep.c (m68hc11_gdbarch_init): Clear gdb_arch_char_signed
as characters are unsigned.
Diffstat (limited to 'gdb/m68hc11-tdep.c')
-rw-r--r--gdb/m68hc11-tdep.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/m68hc11-tdep.c b/gdb/m68hc11-tdep.c
index c1859f3..53a66b3 100644
--- a/gdb/m68hc11-tdep.c
+++ b/gdb/m68hc11-tdep.c
@@ -1352,6 +1352,9 @@ m68hc11_gdbarch_init (struct gdbarch_info info,
set_gdbarch_ptr_bit (gdbarch, 16);
set_gdbarch_long_long_bit (gdbarch, 64);
+ /* Characters are unsigned. */
+ set_gdbarch_char_signed (gdbarch, 0);
+
/* Set register info. */
set_gdbarch_fp0_regnum (gdbarch, -1);
set_gdbarch_deprecated_max_register_raw_size (gdbarch, 2);