Index: gdb/avr-tdep.c |
diff --git a/gdb/avr-tdep.c b/gdb/avr-tdep.c |
index 34b0bafc856fa43d8fc9c69fde37b115e585a841..864d2880027ffd8c7cc6f3b77ae4c19bc5f3ff0e 100644 |
--- a/gdb/avr-tdep.c |
+++ b/gdb/avr-tdep.c |
@@ -742,7 +742,6 @@ avr_scan_prologue (struct gdbarch *gdbarch, CORE_ADDR pc_beg, CORE_ADDR pc_end, |
0xcd, 0xb7, /* in r28,__SP_L__ */ |
0xde, 0xb7 /* in r29,__SP_H__ */ |
}; |
- unsigned short insn1; |
if (vpc + sizeof (img) < len |
&& memcmp (prologue + vpc, img, sizeof (img)) == 0) |
@@ -902,7 +901,7 @@ avr_breakpoint_from_pc (struct gdbarch *gdbarch, |
from WRITEBUF into REGCACHE. */ |
static enum return_value_convention |
-avr_return_value (struct gdbarch *gdbarch, struct type *func_type, |
+avr_return_value (struct gdbarch *gdbarch, struct value *function, |
struct type *valtype, struct regcache *regcache, |
gdb_byte *readbuf, const gdb_byte *writebuf) |
{ |