]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* rs6000-tdep.c: Fix typo in comment.
authorFred Fish <fnf@specifix.com>
Sun, 25 Aug 1996 07:17:22 +0000 (07:17 +0000)
committerFred Fish <fnf@specifix.com>
Sun, 25 Aug 1996 07:17:22 +0000 (07:17 +0000)
* 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.

gdb/ChangeLog
gdb/config/a29k/tm-a29k.h
gdb/config/m88k/tm-m88k.h
gdb/config/mips/tm-mips.h
gdb/config/sparc/tm-sp64.h
gdb/config/sparc/tm-sparc.h
gdb/rs6000-tdep.c

index 6bb47dd385f905ddab959be32b350c68f0289dac..382b0a02fbb8f5aafe644b9a37ce046ae717ec44 100644 (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
index 24a3e08a797837e63341d2085f12570ea952a49b..5fecca1026615f4824eea1aef81ca06138e47f5e 100644 (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.  */
index a4416124e4eb25da75c08b5ed7e1e0770c6519bf..3c0acd94e4675bb0eaa85613722012a0e949dd31 100644 (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))
index 95b9f07736c2c589c75dcb1ab6cb8190bc9f0dc8..841b7fee50dbf1b70f8407a7e8641261ae9e127b 100644 (file)
@@ -339,12 +339,12 @@ extern void mips_find_saved_regs PARAMS ((struct frame_info *));
 \f
 /* 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));
 
index 3cef0fcb1e164657a4c2ebcfb2cde81940e56bdb..c35a45861e4e54e6a7e2392c17161ab644ecf7fb 100644 (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.  */
 
index 663f6d9b1cecaffac9d6b7c3c5aec9989ba6f081..b42865769a60ba89f316f8d28e97a12e8843c593 100644 (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). */
 
index e1aeab5121f4c3ee30d1a5a75123194a38b79fb5..ea7be55ac04433e62e3ff784685913d66e262742 100644 (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