* rs6000-tdep.c: Fix typo in comment.

* valops.c (call_function_by_hand): Set using_gcc to 2
	for code compiled without -g, per comment in code.
	* config/a29k/tm-a29k.h (STACK_ALIGN): Add comment.
	* config/sparc/tm-sparc.h (STACK_ALIGN): Add comment.
	* config/sparc/tm-sp64.h (STACK_ALIGN): Add comment.
	* config/pyr/tm-pyr.h (STACK_ALIGN): Add comment.
	* config/m88k/tm-m88k.h (STACK_ALIGN): Add comment.
	* config/pa/tm-hppa.h (PUSH_ARGUMENTS): Enclose args in ()'s.
	(STACK_ALIGN): Add comment, move to be with other associated
 	macros, and document.
	* config/mips/tm-mips.h (PUSH_ARGUMENTS): Enclose args in ()'s.
	(STACK_ALIGN): Remove completely, handled by PUSH_ARGUMENTS.
	* config/alpha/tm-alpha.h (PUSH_ARGUMENTS): Enclose args in ()'s.
	* config/rs6000/tm-rs6000.h (STACK_ALIGN): Remove completely,
	handled by PUSH_ARGUMENTS.
	(PUSH_ARGUMENTS): Enclose args in ()'s.
This commit is contained in:
Fred Fish 1996-08-25 07:17:22 +00:00
parent 88b47a8521
commit 94b4f75666
7 changed files with 43 additions and 11 deletions

View File

@ -1,3 +1,28 @@
Sun Aug 25 00:09:47 1996 Fred Fish <fnf@rtl.cygnus.com>
* rs6000-tdep.c: Fix typo in comment.
* valops.c (call_function_by_hand): Set using_gcc to 2
for code compiled without -g, per comment in code.
* config/a29k/tm-a29k.h (STACK_ALIGN): Add comment.
* config/sparc/tm-sparc.h (STACK_ALIGN): Add comment.
* config/sparc/tm-sp64.h (STACK_ALIGN): Add comment.
* config/pyr/tm-pyr.h (STACK_ALIGN): Add comment.
* config/m88k/tm-m88k.h (STACK_ALIGN): Add comment.
* config/pa/tm-hppa.h (PUSH_ARGUMENTS): Enclose args in ()'s.
(STACK_ALIGN): Add comment, move to be with other associated
macros, and document.
* config/mips/tm-mips.h (PUSH_ARGUMENTS): Enclose args in ()'s.
(STACK_ALIGN): Remove completely, handled by PUSH_ARGUMENTS.
* config/alpha/tm-alpha.h (PUSH_ARGUMENTS): Enclose args in ()'s.
* config/rs6000/tm-rs6000.h (STACK_ALIGN): Remove completely,
handled by PUSH_ARGUMENTS.
(PUSH_ARGUMENTS): Enclose args in ()'s.
Fri Aug 23 13:55:05 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
* infrun.c (wait_for_inferior): Try to reenable shared library
breakpoints even if auto_solib_load is not set.
Fri Aug 23 00:44:57 1996 Fred Fish <fnf@cygnus.com>
* gdbtk.c (gdbtk_init): Check for a DISPLAY env variable and

View File

@ -60,7 +60,9 @@ CORE_ADDR skip_prologue ();
#define INNER_THAN <
/* Stack must be aligned on 32-bit word boundaries. */
/* Stack must be aligned on 32-bit boundaries when synthesizing
function calls. */
#define STACK_ALIGN(ADDR) (((ADDR) + 3) & ~3)
/* Sequence of bytes for breakpoint instruction. */

View File

@ -589,7 +589,10 @@ extern void m88k_push_dummy_frame();
pc = text_end; \
}
#define STACK_ALIGN(addr) (((addr)+7) & -8)
/* Stack must be aligned on 64-bit boundaries when synthesizing
function calls. */
#define STACK_ALIGN(addr) (((addr) + 7) & -8)
#define STORE_STRUCT_RETURN(addr, sp) \
write_register (SRA_REGNUM, (addr))

View File

@ -339,12 +339,12 @@ extern void mips_find_saved_regs PARAMS ((struct frame_info *));
/* Things needed for making the inferior call functions. */
/* Stack has strict alignment. However, use PUSH_ARGUMENTS
to take care of it. */
/*#define STACK_ALIGN(addr) (((addr)+3)&~3)*/
/* Stack must be aligned on 32-bit boundaries when synthesizing
function calls. We don't need STACK_ALIGN, PUSH_ARGUMENTS will
handle it. */
#define PUSH_ARGUMENTS(nargs, args, sp, struct_return, struct_addr) \
sp = mips_push_arguments(nargs, args, sp, struct_return, struct_addr)
sp = mips_push_arguments((nargs), (args), (sp), (struct_return), (struct_addr))
extern CORE_ADDR
mips_push_arguments PARAMS ((int, struct value **, CORE_ADDR, int, CORE_ADDR));

View File

@ -24,10 +24,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "sparc/tm-sparc.h"
/* Stack has strict alignment. */
/* Stack must be aligned on 128-bit boundaries when synthesizing
function calls. */
#undef STACK_ALIGN
#define STACK_ALIGN(ADDR) (((ADDR)+15)&-16)
#define STACK_ALIGN(ADDR) (((ADDR) + 15 ) & -16)
/* Number of machine registers. */

View File

@ -106,9 +106,10 @@ extern CORE_ADDR sparc_pc_adjust PARAMS ((CORE_ADDR));
#define INNER_THAN <
/* Stack has strict alignment. */
/* Stack must be aligned on 64-bit boundaries when synthesizing
function calls. */
#define STACK_ALIGN(ADDR) (((ADDR)+7)&-8)
#define STACK_ALIGN(ADDR) (((ADDR) + 7) & -8)
/* Sequence of bytes for breakpoint instruction (ta 1). */

View File

@ -683,7 +683,7 @@ rs6000_fix_call_dummy (dummyname, pc, fun, nargs, args, type, gcc_p)
stack.
If the function is returning a structure, then the return address is passed
in r3, then the first 7 words of the parametes can be passed in registers,
in r3, then the first 7 words of the parameters can be passed in registers,
starting from r4. */
CORE_ADDR