* v850-tdep.c (v850_gdbarch_init): Change the v850's `char'
authorKevin Buettner <kevinb@redhat.com>
Thu, 9 Sep 2010 23:04:46 +0000 (23:04 +0000)
committerKevin Buettner <kevinb@redhat.com>
Thu, 9 Sep 2010 23:04:46 +0000 (23:04 +0000)
type to be signed.

gdb/ChangeLog
gdb/v850-tdep.c

index 63358fa..a1d695f 100644 (file)
@@ -1,3 +1,8 @@
+2010-09-09  Kevin Buettner  <kevinb@redhat.com>
+
+       * v850-tdep.c (v850_gdbarch_init): Change the v850's `char'
+       type to be signed.
+       
 2010-09-09  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * dwarf2read.c (fixup_partial_die): Do not set dummy name for
index 4c0b61b..f2402e8 100644 (file)
@@ -1006,7 +1006,7 @@ v850_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
 
   set_gdbarch_register_type (gdbarch, v850_register_type);
 
-  set_gdbarch_char_signed (gdbarch, 0);
+  set_gdbarch_char_signed (gdbarch, 1);
   set_gdbarch_short_bit (gdbarch, 2 * TARGET_CHAR_BIT);
   set_gdbarch_int_bit (gdbarch, 4 * TARGET_CHAR_BIT);
   set_gdbarch_long_bit (gdbarch, 4 * TARGET_CHAR_BIT);