diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/mn10300-tdep.c | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 679f6cd..9da23dc 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2009-03-28 Kevin Buettner <kevinb@redhat.com> + + * mn10300-tdep.c (mn10300_gdbarch_init): For mn10300, by default, + `char' is unsigned. + 2009-03-28 Pedro Alves <pedro@codesourcery.com> * remote.c (remote_stop_ns): If multi-process extensions are off, diff --git a/gdb/mn10300-tdep.c b/gdb/mn10300-tdep.c index eee0338..2586475 100644 --- a/gdb/mn10300-tdep.c +++ b/gdb/mn10300-tdep.c @@ -1413,6 +1413,9 @@ mn10300_gdbarch_init (struct gdbarch_info info, break; } + /* By default, chars are unsigned. */ + set_gdbarch_char_signed (gdbarch, 0); + /* Registers. */ set_gdbarch_num_regs (gdbarch, num_regs); set_gdbarch_register_type (gdbarch, mn10300_register_type); |