This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

BELIEVE_PCC_PROMOTION in coffread.c


Hi,

there are two places in coffread.c like this:

#if !defined (BELIEVE_PCC_PROMOTION)
	 if (gdbarch_byte_order (current_gdbarch) == BFD_ENDIAN_BIG)
	    {
	      /* If PCC says a parameter is a short or a char,
	         aligned on an int boundary, realign it to the
	         "little end" of the int.  */
	      struct type *temptype;

In fact BELIEVE_PCC_PROMOTION is currently always defined. Can this code in between
if and endif be removed, is this a bug ? I'm not very familiar with coff :-(


--
Markus Deuling
GNU Toolchain for Linux on Cell BE
deuling@de.ibm.com


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