From 351a3e56c1c84591cd3a04beb37817b528e53460 Mon Sep 17 00:00:00 2001 From: Kevin Buettner Date: Thu, 9 Sep 2010 23:04:46 +0000 Subject: [PATCH] * v850-tdep.c (v850_gdbarch_init): Change the v850's `char' type to be signed. --- gdb/ChangeLog | 5 +++++ gdb/v850-tdep.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 63358faedf5..a1d695fb3d3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2010-09-09 Kevin Buettner + + * v850-tdep.c (v850_gdbarch_init): Change the v850's `char' + type to be signed. + 2010-09-09 Ulrich Weigand * dwarf2read.c (fixup_partial_die): Do not set dummy name for diff --git a/gdb/v850-tdep.c b/gdb/v850-tdep.c index 4c0b61b490c..f2402e8e31c 100644 --- a/gdb/v850-tdep.c +++ b/gdb/v850-tdep.c @@ -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); -- 2.30.2