Index: gdb/score-tdep.c |
diff --git a/gdb/score-tdep.c b/gdb/score-tdep.c |
index 90ef610bb7ee6bd6012bdf2a71f1efe4b85a7424..fb25806d38df5e27314c1b68851f81fef7eaccb3 100644 |
--- a/gdb/score-tdep.c |
+++ b/gdb/score-tdep.c |
@@ -221,7 +221,6 @@ score3_adjust_pc_and_fetch_inst (CORE_ADDR *pcptr, int *lenptr, |
#define EXTRACT_LEN 2 |
CORE_ADDR adjust_pc = *pcptr & ~0x1; |
- int inst_len; |
gdb_byte buf[5][EXTRACT_LEN] = |
{ |
{'\0', '\0'}, |
@@ -450,7 +449,7 @@ score_xfer_register (struct regcache *regcache, int regnum, int length, |
} |
static enum return_value_convention |
-score_return_value (struct gdbarch *gdbarch, struct type *func_type, |
+score_return_value (struct gdbarch *gdbarch, struct value *function, |
struct type *type, struct regcache *regcache, |
gdb_byte * readbuf, const gdb_byte * writebuf) |
{ |