aboutsummaryrefslogtreecommitdiff
path: root/gdb/blockframe.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/blockframe.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/blockframe.c')
-rw-r--r--gdb/blockframe.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/gdb/blockframe.c b/gdb/blockframe.c
index ac2725d..ccc80db 100644
--- a/gdb/blockframe.c
+++ b/gdb/blockframe.c
@@ -300,15 +300,9 @@ frameless_look_for_prologue (frame)
if (func_start)
{
func_start += FUNCTION_START_OFFSET;
- after_prologue = func_start;
-#ifdef SKIP_PROLOGUE_FRAMELESS_P
/* This is faster, since only care whether there *is* a
prologue, not how long it is. */
- after_prologue = SKIP_PROLOGUE_FRAMELESS_P (after_prologue);
-#else
- after_prologue = SKIP_PROLOGUE (after_prologue);
-#endif
- return after_prologue == func_start;
+ return PROLOGUE_FRAMELESS_P (func_start);
}
else if (frame->pc == 0)
/* A frame with a zero PC is usually created by dereferencing a