diff options
author | Kevin Buettner <kevinb@redhat.com> | 2010-09-09 23:04:46 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2010-09-09 23:04:46 +0000 |
commit | 351a3e56c1c84591cd3a04beb37817b528e53460 (patch) | |
tree | 2e373eeb4aeb7769aaab498d3eccd10da087ad24 /gdb | |
parent | 04251de09501ffd2b2f88177a09e47e01b84acc3 (diff) | |
download | gdb-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')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/v850-tdep.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 63358fa..a1d695f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 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); |