2002-09-18 Andrew Cagney <ac131313@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Wed, 18 Sep 2002 15:37:18 +0000 (15:37 +0000)
committerAndrew Cagney <cagney@redhat.com>
Wed, 18 Sep 2002 15:37:18 +0000 (15:37 +0000)
commitdc60453953d816e84c32b10bcc187100ec090206
tree4ebb3131ab59d027361b42aa01174a3911a506a0
parent11350d2a6f73a4a510fa335553e1363857f8b84f
2002-09-18  Andrew Cagney  <ac131313@redhat.com>

* valops.c (hand_function_call): Align the initial stack pointer
and STRUCT_ADDR using frame_align.  When STRUCT_RETURN and
FRAME_ALIGN_P, use STRUCT_ADDR to obtain the called function's
return value.
* mips-tdep.c (mips_frame_align): New function.
(mips_gdbarch_init): Set frame_align.
* gdbarch.sh (FRAME_ALIGN): New method.
* gdbarch.h, gdbarch.c: Re-generate.
gdb/ChangeLog
gdb/gdbarch.c
gdb/gdbarch.h
gdb/gdbarch.sh
gdb/mips-tdep.c
gdb/valops.c