| Index: gdb/rs6000-aix-tdep.c
|
| diff --git a/gdb/rs6000-aix-tdep.c b/gdb/rs6000-aix-tdep.c
|
| index 706e2e5d5bbe585505b5d5941a6849f2c14332b2..59cfa73b495685795f817473b2e98ef01936eddb 100644
|
| --- a/gdb/rs6000-aix-tdep.c
|
| +++ b/gdb/rs6000-aix-tdep.c
|
| @@ -424,13 +424,12 @@ ran_out_of_registers_for_arguments:
|
| }
|
|
|
| static enum return_value_convention
|
| -rs6000_return_value (struct gdbarch *gdbarch, struct type *func_type,
|
| +rs6000_return_value (struct gdbarch *gdbarch, struct value *function,
|
| struct type *valtype, struct regcache *regcache,
|
| gdb_byte *readbuf, const gdb_byte *writebuf)
|
| {
|
| struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
|
| enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
|
| - gdb_byte buf[8];
|
|
|
| /* The calling convention this function implements assumes the
|
| processor has floating-point registers. We shouldn't be using it
|
| @@ -583,7 +582,7 @@ rs6000_convert_from_func_ptr_addr (struct gdbarch *gdbarch,
|
| {
|
| CORE_ADDR pc = 0;
|
| struct obj_section *pc_section;
|
| - struct gdb_exception e;
|
| + volatile struct gdb_exception e;
|
|
|
| TRY_CATCH (e, RETURN_MASK_ERROR)
|
| {
|
|
|