* mips-tdep.c (make_mips16_addr): New function.
authorKevin Buettner <kevinb@redhat.com>
Fri, 17 Dec 2010 21:39:27 +0000 (21:39 +0000)
committerKevin Buettner <kevinb@redhat.com>
Fri, 17 Dec 2010 21:39:27 +0000 (21:39 +0000)
commit930bd0e01a2f0c2e59578b6e94aa6925d52d6bed
tree55b2739180ae7422e9cf4613e2ec8b6f6544248b
parent900c7f9d2037c1c4a4c9697c25053cafa405f84c
* mips-tdep.c (make_mips16_addr): New function.
(mips_elf_make_msymbol_special): Don't set the low bit in the
symbol's address.
(mips_read_pc, mips_unwind_pc, mips_addr_bits_remove): Strip bit
indicating mips16 address, if present.
(mips_write_pc): Set bit indicating mips16 address when in a mips16
function.
(mips_eabi_push_dummy_call, mips_o64_push_dummy_call): Likewise,
but for each function pointer argument to inferior function call.
gdb/ChangeLog
gdb/mips-tdep.c