* h8500-tdep.c: Add parens around a few macro args.
authorFred Fish <fnf@specifix.com>
Sun, 1 Aug 1993 16:43:32 +0000 (16:43 +0000)
committerFred Fish <fnf@specifix.com>
Sun, 1 Aug 1993 16:43:32 +0000 (16:43 +0000)
gdb/ChangeLog
gdb/h8500-tdep.c

index 2d3dbf2eea5ea99bf8d05b97103cc258d1340844..0137c1c8fc650550e724a9897b4fe146d2872258 100644 (file)
@@ -1,3 +1,7 @@
+Sun Aug  1 09:42:13 1993  Fred Fish  (fnf@cygnus.com)
+
+       * h8500-tdep.c:  Add parens around a few macro args.
+
 Fri Jul 30 15:43:49 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
 
        * TODO: Remove items about unix-to-unix/rapp debugging (now we
index 782d889b441350290af788fcc0a328cb44dd4676..aa38226ec404601ddc882982aee49e9c2c7a0e61 100644 (file)
@@ -61,14 +61,14 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
  */
 
-#define IS_PUSH(x) ((x & 0xff00)==0x6d00)
+#define IS_PUSH(x) (((x) & 0xff00)==0x6d00)
 #define IS_LINK_8(x) ((x) == 0x17)
 #define IS_LINK_16(x) ((x) == 0x1f)
-#define IS_MOVE_FP(x) (x == 0x0d76)
-#define IS_MOV_SP_FP(x) (x == 0x0d76)
-#define IS_SUB2_SP(x) (x==0x1b87)
-#define IS_MOVK_R5(x) (x==0x7905)
-#define IS_SUB_R5SP(x) (x==0x1957)
+#define IS_MOVE_FP(x) ((x) == 0x0d76)
+#define IS_MOV_SP_FP(x) ((x) == 0x0d76)
+#define IS_SUB2_SP(x) ((x) == 0x1b87)
+#define IS_MOVK_R5(x) ((x) == 0x7905)
+#define IS_SUB_R5SP(x) ((x) == 0x1957)
 
 #define LINK_8 0x17
 #define LINK_16 0x1f
@@ -214,6 +214,7 @@ NEXT_PROLOGUE_INSN (addr, lim, pword1)
    info about the registers saved by this frame.
    `fi' is a struct frame_info pointer; we fill in various fields in it
    to reflect the offsets of the arg pointer and the locals pointer.  */
+
 #if 0
 static CORE_ADDR
 examine_prologue (ip, limit, after_prolog_fp, fsr, fi)
@@ -508,7 +509,7 @@ frame_find_saved_regs (frame_info, frame_saved_regs)
       else
        goto lose;
 #if 0
-      fixme steve
+      /* FIXME steve */
       /* If have an add:g.waddal #-n, sp next, adjust next_addr.  */
       if ((0x0c0177777 & read_memory_integer (pc, 2)) == 0157774)
        next_addr += read_memory_integer (pc += 2, 4), pc += 4;
This page took 0.028224 seconds and 4 git commands to generate.