* mips-tdep.c (mips_pseudo_register_type): Remove tdep local
variable. (mips_eabi_push_dummy_call): Likewise. (mips_n32n64_push_dummy_call): Likewise. (mips_o32_push_dummy_call): Likewise. (mips_o64_push_dummy_call): Likewise.
This commit is contained in:
parent
eaa05d599e
commit
6a00aa1e22
2 changed files with 9 additions and 5 deletions
|
@ -1,3 +1,12 @@
|
||||||
|
2012-06-06 Maciej W. Rozycki <macro@codesourcery.com>
|
||||||
|
|
||||||
|
* mips-tdep.c (mips_pseudo_register_type): Remove tdep local
|
||||||
|
variable.
|
||||||
|
(mips_eabi_push_dummy_call): Likewise.
|
||||||
|
(mips_n32n64_push_dummy_call): Likewise.
|
||||||
|
(mips_o32_push_dummy_call): Likewise.
|
||||||
|
(mips_o64_push_dummy_call): Likewise.
|
||||||
|
|
||||||
2012-06-06 Maciej W. Rozycki <macro@codesourcery.com>
|
2012-06-06 Maciej W. Rozycki <macro@codesourcery.com>
|
||||||
|
|
||||||
* mips-tdep.c (mips_convert_register_p): Correct coding style.
|
* mips-tdep.c (mips_convert_register_p): Correct coding style.
|
||||||
|
|
|
@ -1004,7 +1004,6 @@ static struct type *
|
||||||
mips_pseudo_register_type (struct gdbarch *gdbarch, int regnum)
|
mips_pseudo_register_type (struct gdbarch *gdbarch, int regnum)
|
||||||
{
|
{
|
||||||
const int num_regs = gdbarch_num_regs (gdbarch);
|
const int num_regs = gdbarch_num_regs (gdbarch);
|
||||||
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
|
|
||||||
int rawnum = regnum % num_regs;
|
int rawnum = regnum % num_regs;
|
||||||
struct type *rawtype;
|
struct type *rawtype;
|
||||||
|
|
||||||
|
@ -4232,7 +4231,6 @@ mips_eabi_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
|
||||||
int argnum;
|
int argnum;
|
||||||
int len = 0;
|
int len = 0;
|
||||||
int stack_offset = 0;
|
int stack_offset = 0;
|
||||||
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
|
|
||||||
enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
|
enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
|
||||||
CORE_ADDR func_addr = find_function_addr (function, NULL);
|
CORE_ADDR func_addr = find_function_addr (function, NULL);
|
||||||
int regsize = mips_abi_regsize (gdbarch);
|
int regsize = mips_abi_regsize (gdbarch);
|
||||||
|
@ -4640,7 +4638,6 @@ mips_n32n64_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
|
||||||
int argnum;
|
int argnum;
|
||||||
int len = 0;
|
int len = 0;
|
||||||
int stack_offset = 0;
|
int stack_offset = 0;
|
||||||
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
|
|
||||||
enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
|
enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
|
||||||
CORE_ADDR func_addr = find_function_addr (function, NULL);
|
CORE_ADDR func_addr = find_function_addr (function, NULL);
|
||||||
|
|
||||||
|
@ -5097,7 +5094,6 @@ mips_o32_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
|
||||||
int argnum;
|
int argnum;
|
||||||
int len = 0;
|
int len = 0;
|
||||||
int stack_offset = 0;
|
int stack_offset = 0;
|
||||||
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
|
|
||||||
enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
|
enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
|
||||||
CORE_ADDR func_addr = find_function_addr (function, NULL);
|
CORE_ADDR func_addr = find_function_addr (function, NULL);
|
||||||
|
|
||||||
|
@ -5627,7 +5623,6 @@ mips_o64_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
|
||||||
int argnum;
|
int argnum;
|
||||||
int len = 0;
|
int len = 0;
|
||||||
int stack_offset = 0;
|
int stack_offset = 0;
|
||||||
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
|
|
||||||
enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
|
enum bfd_endian byte_order = gdbarch_byte_order (gdbarch);
|
||||||
CORE_ADDR func_addr = find_function_addr (function, NULL);
|
CORE_ADDR func_addr = find_function_addr (function, NULL);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue