aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2009-03-28 04:56:42 +0000
committerKevin Buettner <kevinb@redhat.com>2009-03-28 04:56:42 +0000
commit1b31f75d637045dd1fb0c8ee3dedf21ee6f147f5 (patch)
treea32e6004478d28c7614ae6a3189ce49abbdb9df5 /gdb
parentf91d3df5c6156218eb413f35b2b06c1d77103a5e (diff)
downloadgdb-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')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/mn10300-tdep.c3
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);