BELIEVE_PCC_PROMOTION in coffread.c

Markus Deuling deuling@de.ibm.com
Wed Jun 13 18:01:00 GMT 2007


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



More information about the Gdb mailing list