| Index: gdb/xtensa-tdep.c
|
| diff --git a/gdb/xtensa-tdep.c b/gdb/xtensa-tdep.c
|
| index 78d888806ff023a9db67b4a21d704633d773b5b5..b2a06176c5cd971086bd50bd4019b0cdf0401d77 100644
|
| --- a/gdb/xtensa-tdep.c
|
| +++ b/gdb/xtensa-tdep.c
|
| @@ -665,7 +665,6 @@ xtensa_pseudo_register_write (struct gdbarch *gdbarch,
|
| && (regnum <= gdbarch_tdep (gdbarch)->a0_base + 15))
|
| {
|
| gdb_byte *buf = (gdb_byte *) alloca (MAX_REGISTER_SIZE);
|
| - unsigned int wb;
|
|
|
| regcache_raw_read (regcache,
|
| gdbarch_tdep (gdbarch)->wb_regnum, buf);
|
| @@ -1682,7 +1681,7 @@ xtensa_store_return_value (struct type *type,
|
|
|
| static enum return_value_convention
|
| xtensa_return_value (struct gdbarch *gdbarch,
|
| - struct type *func_type,
|
| + struct value *function,
|
| struct type *valtype,
|
| struct regcache *regcache,
|
| gdb_byte *readbuf,
|
| @@ -2816,7 +2815,6 @@ execute_code (struct gdbarch *gdbarch, CORE_ADDR current_pc, CORE_ADDR wb)
|
| void (*func) (struct gdbarch *, int, int, int, CORE_ADDR);
|
|
|
| int at, as, offset;
|
| - int num_operands;
|
|
|
| /* WindowUnderflow12 = true, when inside _WindowUnderflow12. */
|
| int WindowUnderflow12 = (current_pc & 0x1ff) >= 0x140;
|
|
|