Index: gdb/mt-tdep.c |
diff --git a/gdb/mt-tdep.c b/gdb/mt-tdep.c |
index 4a51a60b4c41f20d2fa6ed7e2cf8288b5b3e27ab..ee4b6eb5d4b6b78b927663022f76dba001000995 100644 |
--- a/gdb/mt-tdep.c |
+++ b/gdb/mt-tdep.c |
@@ -335,7 +335,7 @@ mt_register_reggroup_p (struct gdbarch *gdbarch, int regnum, |
values. */ |
static enum return_value_convention |
-mt_return_value (struct gdbarch *gdbarch, struct type *func_type, |
+mt_return_value (struct gdbarch *gdbarch, struct value *function, |
struct type *type, struct regcache *regcache, |
gdb_byte *readbuf, const gdb_byte *writebuf) |
{ |
@@ -408,7 +408,7 @@ mt_skip_prologue (struct gdbarch *gdbarch, CORE_ADDR pc) |
{ |
enum bfd_endian byte_order = gdbarch_byte_order (gdbarch); |
CORE_ADDR func_addr = 0, func_end = 0; |
- char *func_name; |
+ const char *func_name; |
unsigned long instr; |
if (find_pc_partial_function (pc, &func_name, &func_addr, &func_end)) |