aboutsummaryrefslogtreecommitdiff
path: root/gdb/arch-utils.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@redhat.com>2002-04-22 00:27:39 +0000
committerDavid S. Miller <davem@redhat.com>2002-04-22 00:27:39 +0000
commit9319a2feca1b89d455884f911a662c09fcd05a8e (patch)
tree9268993710973e30f597d9d2d52ff60942485262 /gdb/arch-utils.c
parenteaa7db9139bb30566dd0a20f83a4b2257829d580 (diff)
downloadgdb-9319a2feca1b89d455884f911a662c09fcd05a8e.zip
gdb-9319a2feca1b89d455884f911a662c09fcd05a8e.tar.gz
gdb-9319a2feca1b89d455884f911a662c09fcd05a8e.tar.bz2
2002-04-21 David S. Miller <davem@redhat.com>
* arch-utils.c (generic_prologue_frameless_p): Kill SKIP_PROLOGUE_FRAMELESS_P code. * config/arc/tm-arc.h (SKIP_PROLOGUE_FRAMELESS_P): Delete references. (PROLOGUE_FRAMELESS_P, arc_prologue_frameless_p): New. * arc-tdep.c (arc_prologue_frameless_p): Implement. * config/arc/tm-sparc.h (SKIP_PROLOGUE_FRAMELESS_P): Delete references. (PROLOGUE_FRAMELESS_P, sparc_prologue_frameless_p): New. * sparc-tdep.c (sparc_prologue_frameless_p): Implement. (sparc_gdbarch_init): Pass it to set_gdbarch_prologue_frameless_p.
Diffstat (limited to 'gdb/arch-utils.c')
-rw-r--r--gdb/arch-utils.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c
index 8e2d99a..bdc9d65 100644
--- a/gdb/arch-utils.c
+++ b/gdb/arch-utils.c
@@ -154,11 +154,7 @@ generic_remote_translate_xfer_address (CORE_ADDR gdb_addr, int 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
}
/* New/multi-arched targets should use the correct gdbarch field