diff options
author | Kevin Buettner <kevinb@redhat.com> | 2009-03-28 04:56:42 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2009-03-28 04:56:42 +0000 |
commit | 1b31f75d637045dd1fb0c8ee3dedf21ee6f147f5 (patch) | |
tree | a32e6004478d28c7614ae6a3189ce49abbdb9df5 /gdb/mn10300-tdep.c | |
parent | f91d3df5c6156218eb413f35b2b06c1d77103a5e (diff) | |
download | gdb-1b31f75d637045dd1fb0c8ee3dedf21ee6f147f5.zip gdb-1b31f75d637045dd1fb0c8ee3dedf21ee6f147f5.tar.gz gdb-1b31f75d637045dd1fb0c8ee3dedf21ee6f147f5.tar.bz2 |
* mn10300-tdep.c (mn10300_gdbarch_init): For mn10300, by default,
`char' is unsigned.
Diffstat (limited to 'gdb/mn10300-tdep.c')
-rw-r--r-- | gdb/mn10300-tdep.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); |