diff options
Diffstat (limited to 'gdb/msp430-tdep.c')
-rw-r--r-- | gdb/msp430-tdep.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gdb/msp430-tdep.c b/gdb/msp430-tdep.c index 56276af..896ee57 100644 --- a/gdb/msp430-tdep.c +++ b/gdb/msp430-tdep.c @@ -306,7 +306,8 @@ struct msp430_get_opcode_byte_handle static int msp430_get_opcode_byte (void *handle) { - struct msp430_get_opcode_byte_handle *opcdata = handle; + struct msp430_get_opcode_byte_handle *opcdata + = (struct msp430_get_opcode_byte_handle *) handle; int status; gdb_byte byte; @@ -502,10 +503,11 @@ msp430_analyze_frame_prologue (struct frame_info *this_frame, stop_addr = func_start; msp430_analyze_prologue (get_frame_arch (this_frame), func_start, - stop_addr, *this_prologue_cache); + stop_addr, + (struct msp430_prologue *) *this_prologue_cache); } - return *this_prologue_cache; + return (struct msp430_prologue *) *this_prologue_cache; } /* Given a frame and a prologue cache, return this frame's base. */ |