diff options
Diffstat (limited to 'gdb/s390-linux-tdep.c')
-rw-r--r-- | gdb/s390-linux-tdep.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/s390-linux-tdep.c b/gdb/s390-linux-tdep.c index 8d277ac..fcf93d7 100644 --- a/gdb/s390-linux-tdep.c +++ b/gdb/s390-linux-tdep.c @@ -1168,7 +1168,7 @@ static void s390_check_for_saved (void *data_untyped, pv_t addr, CORE_ADDR size, pv_t value) { - struct s390_prologue_data *data = data_untyped; + struct s390_prologue_data *data = (struct s390_prologue_data *) data_untyped; int i, offset; if (!pv_is_register (addr, S390_SP_REGNUM)) @@ -2081,7 +2081,7 @@ s390_frame_unwind_cache (struct frame_info *this_frame, struct s390_unwind_cache *info; if (*this_prologue_cache) - return *this_prologue_cache; + return (struct s390_unwind_cache *) *this_prologue_cache; info = FRAME_OBSTACK_ZALLOC (struct s390_unwind_cache); *this_prologue_cache = info; @@ -2162,7 +2162,7 @@ s390_stub_frame_unwind_cache (struct frame_info *this_frame, ULONGEST reg; if (*this_prologue_cache) - return *this_prologue_cache; + return (struct s390_stub_unwind_cache *) *this_prologue_cache; info = FRAME_OBSTACK_ZALLOC (struct s390_stub_unwind_cache); *this_prologue_cache = info; @@ -2246,7 +2246,7 @@ s390_sigtramp_frame_unwind_cache (struct frame_info *this_frame, int i; if (*this_prologue_cache) - return *this_prologue_cache; + return (struct s390_sigtramp_unwind_cache *) *this_prologue_cache; info = FRAME_OBSTACK_ZALLOC (struct s390_sigtramp_unwind_cache); *this_prologue_cache = info; |