2002-04-22 Michael Snyder <msnyder@redhat.com>

* arm-tdep.c (arm_skip_prologue): Recognize "sub sp, sp, #nn".
This commit is contained in:
Michael Snyder
2002-04-23 18:10:06 +00:00
parent b7efdfcc1b
commit 11d3b27da0
2 changed files with 8 additions and 1 deletions

View File

@@ -39,7 +39,8 @@
2002-04-22 Michael Snyder <msnyder@redhat.com>
* arm-tdep.c: Some whitespace and coding standards tweaks.
* arm-tdep.c (arm_skip_prologue): Recognize "sub sp, sp, #nn".
Some whitespace and coding standards tweaks.
2002-04-22 Jason Thorpe <thorpej@wasabisystems.com>

View File

@@ -485,6 +485,12 @@ arm_skip_prologue (CORE_ADDR pc)
}
if ((inst & 0xfffff000) == 0xe24cb000) /* sub fp, ip, #nn */
{
skip_pc += 4;
inst = read_memory_integer (skip_pc, 4);
}
if ((inst & 0xfffff000) == 0xe24dd000) /* sub sp, sp, #nn */
skip_pc += 4;
return skip_pc;