This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project. See the GDB home page for more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

in order to build gdb-4.17.87 on AIX 4.3.2



Somce C-compilers are moodier than others. IBM's xlc for example
just can't stand commas in the end of an enum. 

Best Regards,
Johanna Svenningsson

1999-03-27	Johanna Svenningsson <mea@pdc.kth.se>

	* *: removed trailing comma.

:)


*** gdb-4.17.87/gdb/ax-gdb.h	Thu Dec  3 00:22:58 1998
--- gdb-4.17.86-AIX/gdb/ax-gdb.h	Wed Mar 24 11:25:18 1999
***************
*** 65,71 ****
       the register number.  If the caller needs an rvalue, it should
       call require_rvalue to produce the rvalue from this register
       number.  */
!   axs_lvalue_register,
  };
  
  /* Structure describing what we got from a subexpression.  Think of
--- 65,71 ----
       the register number.  If the caller needs an rvalue, it should
       call require_rvalue to produce the rvalue from this register
       number.  */
!   axs_lvalue_register
  };
  
  /* Structure describing what we got from a subexpression.  Think of
*** gdb-4.17.87/gdb/ax.h	Thu Dec  3 00:22:58 1998
--- gdb-4.17.86-AIX/gdb/ax.h	Wed Mar 24 11:26:12 1999
***************
*** 129,135 ****
    aop_zero_ext = 0x2a,
    aop_swap = 0x2b,
    aop_trace16 = 0x30,
!   aop_last,
  };
  
  
--- 129,135 ----
    aop_zero_ext = 0x2a,
    aop_swap = 0x2b,
    aop_trace16 = 0x30,
!   aop_last
  };
  
  
***************
*** 238,244 ****
  
    /* agent_reqs was unable to prove that every instruction following
       an unconditional jump was the target of some other jump.  */
!   agent_flaw_hole,
  };
  
  /* Structure describing the requirements of a bytecode expression.  */
--- 238,244 ----
  
    /* agent_reqs was unable to prove that every instruction following
       an unconditional jump was the target of some other jump.  */
!   agent_flaw_hole
  };
  
  /* Structure describing the requirements of a bytecode expression.  */
*** gdb-4.17.87/gdb/tracepoint.h	Fri Nov 13 01:31:39 1998
--- gdb-4.17.86-AIX/gdb/tracepoint.h	Wed Mar 24 12:09:15 1999
***************
*** 99,105 ****
    BADLINE  = -1,
    GENERIC  =  0,
    END      =  1,
!   STEPPING =  2,
  };
  
  
--- 99,105 ----
    BADLINE  = -1,
    GENERIC  =  0,
    END      =  1,
!   STEPPING =  2
  };
  
  
*** gdb-4.17.87/gdb/config/xm-aix4.h	Wed Dec  9 01:38:45 1998
--- gdb-4.17.86-AIX/gdb/config/xm-aix4.h	Wed Mar 24 15:10:09 1999
***************
*** 67,72 ****
--- 67,74 ----
  
  #define	vfork	fork
  
+ char *termdef(int,int);
+ 
  /* Signal handler for SIGWINCH `window size changed'. */
  
  #define	SIGWINCH_HANDLER  aix_resizewindow
***************
*** 95,97 ****
--- 97,104 ----
        chars_per_line = val;			\
    }						\
  }
+ 
+ 
+ 
+ 
+ 
*** gdb-4.17.87/include/elf/mips.h	Thu Mar 25 04:39:21 1999
--- gdb-4.17.86-AIX/include/elf/mips.h	Wed Mar 24 13:29:25 1999
***************
*** 77,83 ****
    RELOC_NUMBER (R_MIPS16_GPREL, 101)
    /* These are GNU extensions to enable C++ vtable garbage collection.  */
    RELOC_NUMBER (R_MIPS_GNU_VTINHERIT, 253)
!   RELOC_NUMBER (R_MIPS_GNU_VTENTRY, 254)
  END_RELOC_NUMBERS
  
  /* Processor specific flags for the ELF header e_flags field.  */
--- 77,83 ----
    RELOC_NUMBER (R_MIPS16_GPREL, 101)
    /* These are GNU extensions to enable C++ vtable garbage collection.  */
    RELOC_NUMBER (R_MIPS_GNU_VTINHERIT, 253)
!   LAST_RELOC_NUMBER (R_MIPS_GNU_VTENTRY, 254)
  END_RELOC_NUMBERS
  
  /* Processor specific flags for the ELF header e_flags field.  */
*** gdb-4.17.87/include/elf/reloc-macros.h	Wed Nov 11 06:58:06 1998
--- gdb-4.17.86-AIX/include/elf/reloc-macros.h	Wed Mar 24 13:31:05 1999
***************
*** 78,85 ****
--- 78,87 ----
  
  #ifdef __STDC__					  
  #define RELOC_NUMBER(name, number)  case number : return #name ;
+ #define LAST_RELOC_NUMBER(name, number)  case number : return #name ;
  #else
  #define RELOC_NUMBER(name, number)  case number : return "name" ;
+ #define LAST_RELOC_NUMBER(name, number)  case number : return "name" ;
  #endif
  
  #define FAKE_RELOC(name, number)    
***************
*** 96,103 ****
--- 98,112 ----
  #define RELOC_NUMBER(name, number)  name = number ,
  #define FAKE_RELOC(name, number)    name = number ,
  #define EMPTY_RELOC(name)           name ,
+ #define LAST_RELOC_NUMBER(name,number) name = number
  #define END_RELOC_NUMBERS           };
  
  #endif
  
  #endif /* RELOC_MACROS_H */
+