This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
BELIEVE_PCC_PROMOTION in coffread.c
- From: Markus Deuling <deuling at de dot ibm dot com>
- To: GDB discuss <gdb at sourceware dot org>
- Date: Wed, 13 Jun 2007 19:59:54 +0200
- Subject: 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