From mboxrd@z Thu Jan 1 00:00:00 1970 From: mec.gnu@mindspring.com (Michael Elizabeth Chastain) To: gdb-patches@sources.redhat.com, randolph@tausq.org Subject: Re: [commited] small changes to fix hpux-cc compile Date: Sun, 16 May 2004 10:12:00 -0000 Message-id: <20040516101223.635BF4B104@berman.michael-chastain.com> X-SW-Source: 2004-05/msg00460.html Hi Randolph, In this change: - char dld_flags_buffer[TARGET_INT_BIT / TARGET_CHAR_BIT]; + char dld_flags_buffer[4]; I just ran into the same problem with TARGET_INT_BIT so I understand why this needs to change. But why 4? What if the target configuration has 64-bit ints? How about this instead: char * dld_flags_buffer = alloca(TARGET_INT_BIT/TARGET_CHAR_BIT); Michael C