aboutsummaryrefslogtreecommitdiff
path: root/gdb/arch-utils.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-04-29 08:55:45 +0000
committerAndrew Cagney <cagney@redhat.com>2000-04-29 08:55:45 +0000
commitdad41f9aa4ce3170d5860ae9c422c41c37500cdd (patch)
tree6d5720429465b1b54cd5719ece437129ae577a71 /gdb/arch-utils.c
parent0ca652e9ecbfd5acc32611a2f6169dd6cfdcbc28 (diff)
downloadgdb-dad41f9aa4ce3170d5860ae9c422c41c37500cdd.zip
gdb-dad41f9aa4ce3170d5860ae9c422c41c37500cdd.tar.gz
gdb-dad41f9aa4ce3170d5860ae9c422c41c37500cdd.tar.bz2
Convert SKIP_PROLOGUE_FRAMELESS_P into PROLOGUE_FRAMELESS_P.
Diffstat (limited to 'gdb/arch-utils.c')
-rw-r--r--gdb/arch-utils.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c
index 49924cb..aadbebe 100644
--- a/gdb/arch-utils.c
+++ b/gdb/arch-utils.c
@@ -133,6 +133,17 @@ generic_remote_translate_xfer_address (CORE_ADDR gdb_addr, int gdb_len,
*rem_len = gdb_len;
}
+int
+generic_prologue_frameless_p (CORE_ADDR ip)
+{
+#ifdef SKIP_PROLOGUE_FRAMELESS_P
+ return ip == SKIP_PROLOGUE_FRAMELESS_P (ip);
+#else
+ return ip == SKIP_PROLOGUE (ip);
+#endif
+}
+
+
/* */
extern initialize_file_ftype __initialize_gdbarch_utils;