From: Stephane Carrez Date: Mon, 23 Jun 2003 20:06:37 +0000 (+0000) Subject: * m68hc11-tdep.c (m68hc11_gdbarch_init): Clear gdb_arch_char_signed X-Git-Tag: ezannoni_pie-20030916-branchpoint~1039 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b2a02dda88806553934ab9bc63c1633ae0f83bdf;p=external%2Fbinutils.git * m68hc11-tdep.c (m68hc11_gdbarch_init): Clear gdb_arch_char_signed as characters are unsigned. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4d95fff..e473ab3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2003-06-23 Stephane Carrez + + * m68hc11-tdep.c (m68hc11_gdbarch_init): Clear gdb_arch_char_signed + as characters are unsigned. + 2003-06-22 Daniel Jacobowitz PR gdb/1179 diff --git a/gdb/m68hc11-tdep.c b/gdb/m68hc11-tdep.c index c1859f3..53a66b3 100644 --- a/gdb/m68hc11-tdep.c +++ b/gdb/m68hc11-tdep.c @@ -1352,6 +1352,9 @@ m68hc11_gdbarch_init (struct gdbarch_info info, set_gdbarch_ptr_bit (gdbarch, 16); set_gdbarch_long_long_bit (gdbarch, 64); + /* Characters are unsigned. */ + set_gdbarch_char_signed (gdbarch, 0); + /* Set register info. */ set_gdbarch_fp0_regnum (gdbarch, -1); set_gdbarch_deprecated_max_register_raw_size (gdbarch, 2);