diff options
author | Jason Molenda <jmolenda@apple.com> | 1999-05-25 18:09:09 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 1999-05-25 18:09:09 +0000 |
commit | 392a587b0562bfd8561bc15ad2625a4f49f461f0 (patch) | |
tree | 933e0970b7845c901c7ea3e128fa9cb0dcf9fe14 /gdb/arm-tdep.c | |
parent | 751d21b5b946a4a451552fbac692b14abea3d816 (diff) | |
download | gdb-392a587b0562bfd8561bc15ad2625a4f49f461f0.zip gdb-392a587b0562bfd8561bc15ad2625a4f49f461f0.tar.gz gdb-392a587b0562bfd8561bc15ad2625a4f49f461f0.tar.bz2 |
import gdb-1999-05-25 snapshot
Diffstat (limited to 'gdb/arm-tdep.c')
-rw-r--r-- | gdb/arm-tdep.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c index d6970a2..993e4bf 100644 --- a/gdb/arm-tdep.c +++ b/gdb/arm-tdep.c @@ -137,6 +137,19 @@ arm_saved_pc_after_call (frame) return ADDR_BITS_REMOVE (read_register (LR_REGNUM)); } +int +arm_frameless_function_invocation (fi) + struct frame_info *fi; +{ + int frameless; + CORE_ADDR func_start, after_prologue; + func_start = (get_pc_function_start ((fi)->pc) + FUNCTION_START_OFFSET); + after_prologue = func_start; + SKIP_PROLOGUE (after_prologue); + frameless = (after_prologue == func_start); + return frameless; +} + /* A typical Thumb prologue looks like this: push {r7, lr} add sp, sp, #-28 |