aboutsummaryrefslogtreecommitdiff
path: root/gdb/v850-tdep.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2010-09-09 23:04:46 +0000
committerKevin Buettner <kevinb@redhat.com>2010-09-09 23:04:46 +0000
commit351a3e56c1c84591cd3a04beb37817b528e53460 (patch)
tree2e373eeb4aeb7769aaab498d3eccd10da087ad24 /gdb/v850-tdep.c
parent04251de09501ffd2b2f88177a09e47e01b84acc3 (diff)
downloadgdb-351a3e56c1c84591cd3a04beb37817b528e53460.zip
gdb-351a3e56c1c84591cd3a04beb37817b528e53460.tar.gz
gdb-351a3e56c1c84591cd3a04beb37817b528e53460.tar.bz2
* v850-tdep.c (v850_gdbarch_init): Change the v850's `char'
type to be signed.
Diffstat (limited to 'gdb/v850-tdep.c')
-rw-r--r--gdb/v850-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/v850-tdep.c b/gdb/v850-tdep.c
index 4c0b61b..f2402e8 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);