* m68hc11-tdep.c (m68hc11_gdbarch_init): Clear gdb_arch_char_signed
authorStephane Carrez <stcarrez@nerim.fr>
Mon, 23 Jun 2003 20:06:37 +0000 (20:06 +0000)
committerStephane Carrez <stcarrez@nerim.fr>
Mon, 23 Jun 2003 20:06:37 +0000 (20:06 +0000)
as characters are unsigned.

gdb/ChangeLog
gdb/m68hc11-tdep.c

index 4d95fff1024188c83dcd9f649e0c63623d615d54..e473ab3185fc995fe517a03224e2f163230fc3aa 100644 (file)
@@ -1,3 +1,8 @@
+2003-06-23  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * m68hc11-tdep.c (m68hc11_gdbarch_init): Clear gdb_arch_char_signed
+       as characters are unsigned.
+
 2003-06-22  Daniel Jacobowitz  <drow@mvista.com>
 
        PR gdb/1179
index c1859f39eaaff466f835c53cc80a4b7100aedc27..53a66b3398882bb4bd44748519a70d94a9791280 100644 (file)
@@ -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);