diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2012-06-06 21:34:12 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@linux-mips.org> | 2012-06-06 21:34:12 +0000 |
commit | 6a00aa1e22cae9efa38a8df1036eaf85cf81e166 (patch) | |
tree | 2874f8be4ac2a0606634481cca46ae2db22dfa61 | |
parent | eaa05d599ebfeb571fa3f40cb2c753060554efb0 (diff) | |
download | gdb-6a00aa1e22cae9efa38a8df1036eaf85cf81e166.zip gdb-6a00aa1e22cae9efa38a8df1036eaf85cf81e166.tar.gz gdb-6a00aa1e22cae9efa38a8df1036eaf85cf81e166.tar.bz2 |
* 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.
-rw-r--r-- | gdb/ChangeLog | 9 | ||||
-rw-r--r-- | gdb/mips-tdep.c | 5 |
2 files changed, 9 insertions, 5 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5f6ddf0..46188d1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,14 @@ 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> + * mips-tdep.c (mips_convert_register_p): Correct coding style. 2012-06-06 Maciej W. Rozycki <macro@codesourcery.com> diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index 81c3136..4c000e7 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -1004,7 +1004,6 @@ static struct type * mips_pseudo_register_type (struct gdbarch *gdbarch, int regnum) { const int num_regs = gdbarch_num_regs (gdbarch); - struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch); int rawnum = regnum % num_regs; struct type *rawtype; @@ -4232,7 +4231,6 @@ mips_eabi_push_dummy_call (struct gdbarch *gdbarch, struct value *function, int argnum; int len = 0; int stack_offset = 0; - struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch); enum bfd_endian byte_order = gdbarch_byte_order (gdbarch); CORE_ADDR func_addr = find_function_addr (function, NULL); int regsize = mips_abi_regsize (gdbarch); @@ -4640,7 +4638,6 @@ mips_n32n64_push_dummy_call (struct gdbarch *gdbarch, struct value *function, int argnum; int len = 0; int stack_offset = 0; - struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch); enum bfd_endian byte_order = gdbarch_byte_order (gdbarch); 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 len = 0; int stack_offset = 0; - struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch); enum bfd_endian byte_order = gdbarch_byte_order (gdbarch); 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 len = 0; int stack_offset = 0; - struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch); enum bfd_endian byte_order = gdbarch_byte_order (gdbarch); CORE_ADDR func_addr = find_function_addr (function, NULL); |