Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Michael Snyder <msnyder@redhat.com>
To: gdb-patches@sources.redhat.com, cagney@redhat.com,
	kevinb@redhat.com, rearnsha@arm.com
Subject: [RFA] arm_store_return_value, big-endian
Date: Wed, 06 Nov 2002 15:49:00 -0000	[thread overview]
Message-ID: <3DC9AA92.5FA9D709@redhat.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 67 bytes --]

This corresponds to the earlier patch for arm_extract_return_value.

[-- Attachment #2: arm2.patch --]
[-- Type: text/plain, Size: 811 bytes --]

2002-11-06  Michael Snyder  <msnyder@redhat.com>

	* arm-tdep.c (arm_store_return_value): Handle offset of
	small types on big-endian machines.

Index: arm-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/arm-tdep.c,v
retrieving revision 1.74
diff -p -r1.74 arm-tdep.c
*** arm-tdep.c	1 Nov 2002 21:21:49 -0000	1.74
--- arm-tdep.c	6 Nov 2002 23:47:34 -0000
*************** gdb_print_insn_arm (bfd_vma memaddr, dis
*** 2151,2156 ****
--- 2151,2159 ----
        memaddr = UNMAKE_THUMB_ADDR (memaddr);
        info->symbols = &asym;
      }
+   else if (TYPE_LENGTH (type) < REGISTER_RAW_SIZE (A1_REGNUM))
+     write_register_bytes (REGISTER_RAW_SIZE (A1_REGNUM) - TYPE_LENGTH (type),
+ 			  valbuf, TYPE_LENGTH (type));
    else
      info->symbols = NULL;
  

             reply	other threads:[~2002-11-06 23:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-06 15:49 Michael Snyder [this message]
2002-11-06 15:58 ` Andrew Cagney
2002-11-06 16:11   ` Michael Snyder
2002-11-06 16:14     ` Michael Snyder
2002-11-06 16:22       ` Michael Snyder
2002-11-06 16:39     ` Andrew Cagney

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=3DC9AA92.5FA9D709@redhat.com \
    --to=msnyder@redhat.com \
    --cc=cagney@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    --cc=kevinb@redhat.com \
    --cc=rearnsha@arm.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