From: Michael Snyder <msnyder@cygnus.com>
To: gdb-patches@sources.redhat.com
Cc: cagney@redhat.com, rearnsha@arm.com
Subject: [RFA] arm_skip_prologue: recognize "str r(0123), [r11, #-nn]"
Date: Mon, 22 Apr 2002 16:29:00 -0000 [thread overview]
Message-ID: <200204222317.g3MNHkN10830@reddwarf.sfbay.redhat.com> (raw)
GCC sometimes generates these stores as discrete instructions.
2002-04-22 Michael Snyder <msnyder@redhat.com>
* arm-tdep.c (arm_skip_prologue): Recognize str r(0123), [r11, #-nn].
Index: arm-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/arm-tdep.c,v
retrieving revision 1.51
diff -p -r1.51 arm-tdep.c
*** arm-tdep.c 22 Apr 2002 23:22:04 -0000 1.51
--- arm-tdep.c 22 Apr 2002 23:27:36 -0000
*************** arm_skip_prologue (CORE_ADDR pc)
*** 485,491 ****
}
if ((inst & 0xfffff000) == 0xe24cb000) /* sub fp, ip, #nn */
! skip_pc += 4;
return skip_pc;
}
--- 485,500 ----
}
if ((inst & 0xfffff000) == 0xe24cb000) /* sub fp, ip, #nn */
! {
! skip_pc += 4;
! inst = read_memory_integer (skip_pc, 4);
! }
!
! while ((inst & 0xffffcfc0) == 0xe50b0000) /* str r(0123), [r11, #-nn] */
! {
! skip_pc += 4;
! inst = read_memory_integer (skip_pc, 4);
! }
return skip_pc;
}
next reply other threads:[~2002-04-22 23:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-22 16:29 Michael Snyder [this message]
2002-04-23 2:36 ` Richard Earnshaw
2002-04-23 2:55 ` Richard Earnshaw
2002-04-23 10:47 ` Michael Snyder
2002-04-24 2:08 ` Richard Earnshaw
2002-04-24 14:23 ` Michael Snyder
2002-04-23 10:46 ` Michael Snyder
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=200204222317.g3MNHkN10830@reddwarf.sfbay.redhat.com \
--to=msnyder@cygnus.com \
--cc=cagney@redhat.com \
--cc=gdb-patches@sources.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