This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFC/TileGX 6/6]char type should be signed
- From: Jiong Wang <jiwang at tilera dot com>
- To: <gdb-patches at sourceware dot org>
- Cc: Walter Lee <walt at tilera dot com>
- Date: Fri, 18 Jan 2013 17:32:10 +0800
- Subject: [RFC/TileGX 6/6]char type should be signed
char type for tilegx should be signed.
gdb/ChangeLog:
* tilegx-tdep.c (itilegx_gdbarch_init): char type should be signed
please review.
---
Regards,
Jiong
Tilera Corporation.
---
gdb/tilegx-tdep.c | 1 -
1 files changed, 1 deletion(-)
diff --git a/gdb/tilegx-tdep.c b/gdb/tilegx-tdep.c
index c19bdf9..9b962ac 100644
--- a/gdb/tilegx-tdep.c
+++ b/gdb/tilegx-tdep.c
@@ -1039,7 +1039,6 @@ tilegx_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
set_gdbarch_register_name (gdbarch, tilegx_register_name);
set_gdbarch_register_type (gdbarch, tilegx_register_type);
- set_gdbarch_char_signed (gdbarch, 0);
set_gdbarch_short_bit (gdbarch, 2 * TARGET_CHAR_BIT);
set_gdbarch_int_bit (gdbarch, 4 * TARGET_CHAR_BIT);
set_gdbarch_long_bit (gdbarch, arch_size);
--
1.7.10.3