2002-08-09 Michael Snyder <msnyder@redhat.com>
authorMichael Snyder <msnyder@vmware.com>
Sat, 10 Aug 2002 00:34:04 +0000 (00:34 +0000)
committerMichael Snyder <msnyder@vmware.com>
Sat, 10 Aug 2002 00:34:04 +0000 (00:34 +0000)
commitcb3d25d11f6af715fc361ab4f8e3631be3f6a110
treef92d732c502f6311e42487fc7a3a6a34fc7647ce
parent94fdcfdc0a226c0c0f3620c2750e647da6a24bef
2002-08-09  Michael Snyder  <msnyder@redhat.com>

* mips-tdep.c (ROUND_DOWN, ROUND_UP): Move to global scope.
(mips_push_arguments): Correct some comments.  Use paddr_nz
for printing addresses in debug output.  Replace static
allocation using MAX_REGISTER_RAW_SIZE with alloca.
(mips_n32n64_push_arguments): New function, cloned from
mips_push_arguments and tuned for the n32/n64 ABI.
(mips_push_register): Buffer needs dynamic allocation.
(mips_print_register): Ditto.
(do_gp_register_row): Ditto.
(mips_store_return_value): Ditto.
(mips_gdbarch_init): Set gdbarch_push_arguments per ABI.
gdb/ChangeLog
gdb/mips-tdep.c