summaryrefslogtreecommitdiff
path: root/gdb/z8k-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-04-20 03:09:28 +0000
committerAndrew Cagney <cagney@redhat.com>2002-04-20 03:09:28 +0000
commiteef303bf1aff9d13ccfff142385a4dedb71624da (patch)
tree6284a7855f77a2c422b388c1fa0a1c63d5499081 /gdb/z8k-tdep.c
parent2fd17ca23883eed46a096822dac90c84b555bb25 (diff)
downloadgdb-eef303bf1aff9d13ccfff142385a4dedb71624da.tar.gz
* sparc-tdep.c (sparc_get_saved_register): Use get_prev_frame
instead of ->prev. * z8k-tdep.c (z8k_frame_chain): Do not use ->prev. * s390-tdep.c (s390_frame_chain): Do not use ->prev. * rs6000-tdep.c (frame_get_saved_regs): Use rs6000_frame_chain() instead of ->prev.
Diffstat (limited to 'gdb/z8k-tdep.c')
-rw-r--r--gdb/z8k-tdep.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/z8k-tdep.c b/gdb/z8k-tdep.c
index fa043a2ec1d..572a878dc20 100644
--- a/gdb/z8k-tdep.c
+++ b/gdb/z8k-tdep.c
@@ -160,10 +160,6 @@ read_memory_pointer (CORE_ADDR x)
CORE_ADDR
z8k_frame_chain (struct frame_info *thisframe)
{
- if (thisframe->prev == 0)
- {
- /* This is the top of the stack, let's get the sp for real */
- }
if (!inside_entry_file (thisframe->pc))
{
return read_memory_pointer (thisframe->frame);