Index: gdb/xstormy16-tdep.c |
diff --git a/gdb/xstormy16-tdep.c b/gdb/xstormy16-tdep.c |
index 23ae60b9c13acd369ea4106cd2f7c6f2a8e6170c..47fc86b22597c0bfbf2c84f1597539c47344faff 100644 |
--- a/gdb/xstormy16-tdep.c |
+++ b/gdb/xstormy16-tdep.c |
@@ -197,7 +197,7 @@ xstormy16_store_return_value (struct type *type, struct regcache *regcache, |
} |
static enum return_value_convention |
-xstormy16_return_value (struct gdbarch *gdbarch, struct type *func_type, |
+xstormy16_return_value (struct gdbarch *gdbarch, struct value *function, |
struct type *type, struct regcache *regcache, |
gdb_byte *readbuf, const gdb_byte *writebuf) |
{ |
@@ -413,7 +413,7 @@ static CORE_ADDR |
xstormy16_skip_prologue (struct gdbarch *gdbarch, CORE_ADDR pc) |
{ |
CORE_ADDR func_addr = 0, func_end = 0; |
- char *func_name; |
+ const char *func_name; |
if (find_pc_partial_function (pc, &func_name, &func_addr, &func_end)) |
{ |