Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Corinna Vinschen <vinschen@redhat.com>
To: gdb-patches@sources.redhat.com
Subject: [PATCH] xstormy16-tdep.c: Set chars to unsigned
Date: Tue, 25 Mar 2003 16:18:00 -0000	[thread overview]
Message-ID: <20030325161831.GF23762@cygbert.vinschen.de> (raw)

Hi,

I've applied the below patch to xstormy16-tdep.  It resolves the FAILs
in charset.exp due to the different opinion of gdb and the xstormy16
target about sign of characters.

Corinna


2003-03-25  Corinna Vinschen  <vinschen@redhat.com>

        * xstormy16-tdep.c (xstormy16_gdbarch_init): Add call to
        set_gdbarch_char_signed.

Index: xstormy16-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/xstormy16-tdep.c,v
retrieving revision 1.32
diff -u -p -r1.32 xstormy16-tdep.c
--- xstormy16-tdep.c    24 Mar 2003 03:54:50 -0000      1.32
+++ xstormy16-tdep.c    25 Mar 2003 16:12:34 -0000
@@ -1106,6 +1106,7 @@ xstormy16_gdbarch_init (struct gdbarch_i
   set_gdbarch_fix_call_dummy (gdbarch, generic_fix_call_dummy);
   set_gdbarch_breakpoint_from_pc (gdbarch, xstormy16_breakpoint_from_pc);
 
+  set_gdbarch_char_signed (gdbarch, 0);
   set_gdbarch_int_bit (gdbarch, 2 * TARGET_CHAR_BIT);
   set_gdbarch_ptr_bit (gdbarch, 2 * TARGET_CHAR_BIT);
   set_gdbarch_addr_bit (gdbarch, 4 * TARGET_CHAR_BIT);

-- 
Corinna Vinschen
Cygwin Developer
Red Hat, Inc.
mailto:vinschen@redhat.com


             reply	other threads:[~2003-03-25 16:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-25 16:18 Corinna Vinschen [this message]
2003-03-25 16:28 ` Andrew Cagney
2003-03-25 16:36   ` Corinna Vinschen
2003-03-25 16:54     ` Andrew Cagney
2003-03-25 17:07       ` Corinna Vinschen
2003-03-25 23:24         ` Andrew Cagney
2003-03-26  9:13           ` Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030325161831.GF23762@cygbert.vinschen.de \
    --to=vinschen@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox